public class VCSCommandState
extends java.lang.Object
Class holding state-related data / objects for a command.
Constructor and Description |
---|
VCSCommandState()
Constructor.
|
VCSCommandState(VCSDirectoryInvokableState invokableState,
java.util.Map timestampMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
VCSDirectoryInvokableState |
getInvokableState()
Gets the associated invokable state object.
|
java.lang.Object |
getProperty(java.lang.String name) |
java.util.Map |
getTimestampMap()
Gets the associated timestamp map.
|
void |
removeProperty(java.lang.String name) |
void |
setInvokableState(VCSDirectoryInvokableState invokableState)
Sets the associated invokable state object.
|
void |
setProperty(java.lang.String name,
java.lang.Object value) |
void |
setTimestampMap(java.util.Map timestampMap)
Sets the associated timestamp map.
|
public VCSCommandState()
public VCSCommandState(VCSDirectoryInvokableState invokableState, java.util.Map timestampMap)
invokableState
- the invokable state object.timestampMap
- the map of timestamps against node instances.public VCSDirectoryInvokableState getInvokableState()
public void setInvokableState(VCSDirectoryInvokableState invokableState)
invokableState
- the object representing the invocation state.public java.util.Map getTimestampMap()
public void setTimestampMap(java.util.Map timestampMap)
timestampMap
- the map of timestamps against nodes.public final java.lang.Object getProperty(java.lang.String name)
public final void setProperty(java.lang.String name, java.lang.Object value)
public final void removeProperty(java.lang.String name)