public class SyncAction extends Object
Constructor and Description |
---|
SyncAction(String action,
String onState,
String setState)
Constructs a new
SyncAction using the specified values. |
SyncAction(String action,
String onState,
String checkOperator,
int checkValue,
String newState,
String newValueOperator,
int newValue)
Constructs a new
SyncAction using the specified values. |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Returns the name of the action.
|
String |
getNewOperator()
Returns the operator which modifies the new value.
|
String |
getNewState()
Returns the name of the new state.
|
int |
getNewValue()
Returns the new value.
|
String |
getOnOperator()
Returns the comparison operator.
|
String |
getOnState()
Returns the comparison state.
|
int |
getOnValue()
Returns the comparison value.
|
void |
setAction(String action)
Sets the name of the action.
|
void |
setNewOperator(String value)
Sets the operator which modifies the new value.
|
void |
setNewState(String newState)
Sets the name of the new state.
|
void |
setNewValue(int newValue)
Sets the new Value.
|
void |
setOnOperator(String op)
Sets the comparison operator.
|
void |
setOnState(String checkState)
Sets the comparison state.
|
void |
setOnValue(int value)
Sets the comparison value.
|
public SyncAction(String action, String onState, String checkOperator, int checkValue, String newState, 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(String action, String onState, 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 String getAction()
public void setAction(String action)
action
- Name of the actionpublic String getOnOperator()
public void setOnOperator(String op)
op
- Comparison operatorpublic String getOnState()
public void setOnState(String checkState)
checkState
- Comparison statepublic int getOnValue()
public void setOnValue(int value)
value
- Comparison valuepublic String getNewState()
public void setNewState(String newState)
newState
- Name of the new statepublic int getNewValue()
public void setNewValue(int newValue)
newValue
- Valuepublic String getNewOperator()
public void setNewOperator(String value)
value
- Operator which modifies the new valueCopyright © 2021. All rights reserved.