public class MoveDetectionConfig
extends java.lang.Object
Constructor and Description |
---|
MoveDetectionConfig()
Initialise a MoveDetectionConfig without params.
|
MoveDetectionConfig(java.util.List<MoveCandidate> moveCandidates)
Initialises an unrestricted MoveDetectionConfig with a list of move candidates.
|
MoveDetectionConfig(MoveDetectionType moveDetectionType,
java.util.List<MoveCandidate> moveCandidates)
Initialises a MoveDetectionConfig for given parameters.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<MoveCandidate> |
getMoveCandidates()
Gets the list of MoveCandidates.
|
MoveDetectionType |
getMoveDetectionType()
Gets the MoveDetectionType value.
|
boolean |
getShowMoveSource()
Gets the value for showMoveSource.
|
boolean |
isEnabled()
Query if move processing is enabled.
|
void |
setEnabled(boolean enabled)
Enable or disable move processing.
|
void |
setMoveCandidates(java.util.List<MoveCandidate> moveCandidates)
Sets the list of MoveCandidates.
|
void |
setMoveDetectionType(MoveDetectionType moveDetectionType)
Sets the moveDetectionType.
|
void |
setShowMoveSource(boolean showMoveSource)
Sets showMoveSource.
|
public MoveDetectionConfig()
public MoveDetectionConfig(java.util.List<MoveCandidate> moveCandidates)
moveCandidates
- A list of MoveCandidate objects.public MoveDetectionConfig(MoveDetectionType moveDetectionType, java.util.List<MoveCandidate> moveCandidates)
moveDetectionType
- Move detection type as defined in the MoveDetectionType enum.moveCandidates
- A list of MoveCandidate objects.public boolean isEnabled()
public void setEnabled(boolean enabled)
enabled
- Set to true to enable and false to disable moves processing.public java.util.List<MoveCandidate> getMoveCandidates()
public void setMoveCandidates(java.util.List<MoveCandidate> moveCandidates)
moveCandidates
- The List of MoveCandidates to be set.public boolean getShowMoveSource()
public void setShowMoveSource(boolean showMoveSource)
showMoveSource
- Boolean value to be set to showMoveSource.public MoveDetectionType getMoveDetectionType()
public void setMoveDetectionType(MoveDetectionType moveDetectionType)
moveDetectionType
- Move detection type as defined the MoveDetectionType enumeration.