Package com.dtolabs.rundeck.core.rules
Interface MutableStateObj
-
- All Superinterfaces:
StateObj
- All Known Subinterfaces:
ListenableMutableStateObj
- All Known Implementing Classes:
DataState,StateLogger
public interface MutableStateObj extends StateObj
State that can be modified
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanupdateState(StateObj values)Add the state to this statebooleanupdateState(java.lang.String key, java.lang.String value)Add the state to this statebooleanupdateState(java.util.Map<java.lang.String,java.lang.String> values)Add the state to this state
-
-
-
Method Detail
-
updateState
boolean updateState(StateObj values)
Add the state to this state- Parameters:
values- state- Returns:
- true if this state was changed, false otherwise
-
updateState
boolean updateState(java.util.Map<java.lang.String,java.lang.String> values)
Add the state to this state- Parameters:
values- state- Returns:
- true if this state was changed, false otherwise
-
updateState
boolean updateState(java.lang.String key, java.lang.String value)Add the state to this state- Parameters:
key- keyvalue- value- Returns:
- true if this state was changed, false otherwise
-
-