Package PamguardMVC.dataSelector
Class CompoundParams
java.lang.Object
PamguardMVC.dataSelector.DataSelectParams
PamguardMVC.dataSelector.CompoundParams
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Field Summary
Fields inherited from class PamguardMVC.dataSelector.DataSelectParams
DATA_SELECT_AND, DATA_SELECT_DISABLE, DATA_SELECT_OR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.getSelectorParams
(DataSelector dataSelector) void
setSelectorParams
(DataSelector dataSelector, DataSelectParams params) Methods inherited from class PamguardMVC.dataSelector.DataSelectParams
getParameterSet, setCombinationFlag
-
Field Details
-
serialVersionUID
public static final long serialVersionUID- See Also:
-
-
Constructor Details
-
CompoundParams
public CompoundParams()
-
-
Method Details
-
setSelectorParams
-
getSelectorParams
-
getCombinationFlag
public int getCombinationFlag()Description copied from class:DataSelectParams
How to enable / disable / combine one or more dataselectors, particularly in a CompundDataSelector in which case we may want to disable some or all of the different data selectors from different annotations as well as the main data selector for the type of data in the block.DATA_SELECT_AND (0) will AND this with previous output (take the minimum of two double results)
DATA_SELECT_OR (1) will OR this with previous output (take the maximum of two double results)
DATA_SELECT_DISABLE (2) will disable this data selector (return always 1)- Overrides:
getCombinationFlag
in classDataSelectParams
- Returns:
- the combinationFlag
-