public class SyncAction
extends java.lang.Object
Constructor and Description |
---|
SyncAction(java.lang.String action,
java.lang.String onState,
java.lang.String setState)
Constructs a new
SyncAction using the specified values. |
SyncAction(java.lang.String action,
java.lang.String onState,
java.lang.String checkOperator,
int checkValue,
java.lang.String newState,
java.lang.String newValueOperator,
int newValue)
Constructs a new
SyncAction using the specified values. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAction()
Returns the name of the action.
|
java.lang.String |
getNewOperator()
Returns the operator which modifies the new value.
|
java.lang.String |
getNewState()
Returns the name of the new state.
|
int |
getNewValue()
Returns the new value.
|
java.lang.String |
getOnOperator()
Returns the comparison operator.
|
java.lang.String |
getOnState()
Returns the comparison state.
|
int |
getOnValue()
Returns the comparison value.
|
void |
setAction(java.lang.String action)
Sets the name of the action.
|
void |
setNewOperator(java.lang.String value)
Sets the operator which modifies the new value.
|
void |
setNewState(java.lang.String newState)
Sets the name of the new state.
|
void |
setNewValue(int newValue)
Sets the new Value.
|
void |
setOnOperator(java.lang.String op)
Sets the comparison operator.
|
void |
setOnState(java.lang.String checkState)
Sets the comparison state.
|
void |
setOnValue(int value)
Sets the comparison value.
|
public SyncAction(java.lang.String action, java.lang.String onState, java.lang.String checkOperator, int checkValue, java.lang.String newState, java.lang.String newValueOperator, int newValue)
SyncAction
using the specified values.action
- Name of the actiononState
- The action may be taken only if the Sync object is in corresponding state.checkOperator
- The action can additionally be influenced by the value of a Sync object.
Select a comparison operator herecheckValue
- The action execution can additionally be dependent on the value of a Sync object.
Input this value here.newState
- With an action, a state will also be assigned to a Sync object.newValueOperator
- With an action, a value can also be modified.
Select an operator for this modification here.newValue
- With an action, a new value can also be assigned to a Sync object.public SyncAction(java.lang.String action, java.lang.String onState, java.lang.String setState)
SyncAction
using the specified values.action
- Name of the actiononState
- The action may be taken only if the Sync object is in corresponding state.setState
- With an action, a state will also be assigned to a Sync object.public java.lang.String getAction()
public void setAction(java.lang.String action)
action
- Name of the actionpublic java.lang.String getOnOperator()
public void setOnOperator(java.lang.String op)
op
- Comparison operatorpublic java.lang.String getOnState()
public void setOnState(java.lang.String checkState)
checkState
- Comparison statepublic int getOnValue()
public void setOnValue(int value)
value
- Comparison valuepublic java.lang.String getNewState()
public void setNewState(java.lang.String newState)
newState
- Name of the new statepublic int getNewValue()
public void setNewValue(int newValue)
newValue
- Valuepublic java.lang.String getNewOperator()
public void setNewOperator(java.lang.String value)
value
- Operator which modifies the new value