public final class EventsDuringPhenomenaFilter extends Object implements PostProcessing
Filter that removes or keeps only the items of specific event types during a specific type of phenomena.
Constructor and Description |
---|
EventsDuringPhenomenaFilter(List<String> eventCodes,
String phenomenonCode,
boolean removeEvents)
Constructor
|
EventsDuringPhenomenaFilter(String eventCode,
String phenomenonCode,
boolean removeEvents)
Constructor
|
public EventsDuringPhenomenaFilter(String eventCode, String phenomenonCode, boolean removeEvents)
eventCode
- : code of the events that have to be removed or kept during a specified type of phenomenonphenomenonCode
- : code of the phenomena during which ones a specified type of events have to be removed or keptremoveEvents
- : true if the specified events have to be removed
during the specified phenomena, false if all of the
other events have to be removed during the specified phenomenapublic EventsDuringPhenomenaFilter(List<String> eventCodes, String phenomenonCode, boolean removeEvents)
eventCodes
- : list of codes of the events that have to be removed or kept during a specified type of phenomenonphenomenonCode
- : code of the phenomena during which ones a specified type of events have to be removed or keptremoveEvents
- : true if the specified events have to be removed during the specified pehnomena, false if all of the
other events have to be removed during the specified phenomenapublic void applyTo(Timeline list)
applyTo
in interface PostProcessing
list
- : the timeline that has to be processedCopyright © 2019 CNES. All rights reserved.