public class EndStateModel extends AbstractStateModel
Constructor and Description |
---|
EndStateModel(java.lang.String id)
Create an end state model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
java.lang.String |
getCommit() |
java.util.LinkedList<OutputModel> |
getOutputs() |
java.lang.String |
getView() |
boolean |
isMergeableWith(Model model)
Determine if the model is able to be merged into the current model
|
void |
merge(Model model)
Merge the model into the current model
|
void |
setCommit(java.lang.String commit) |
void |
setOutputs(java.util.LinkedList<OutputModel> outputs) |
void |
setView(java.lang.String view) |
fillCopy, getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
public EndStateModel(java.lang.String id)
id
- the state identifierpublic boolean isMergeableWith(Model model)
Model
model
- the model to comparepublic void merge(Model model)
Model
model
- the model to merge withpublic Model createCopy()
Model
public java.lang.String getView()
public void setView(java.lang.String view)
view
- the view factory to setpublic java.lang.String getCommit()
public void setCommit(java.lang.String commit)
commit
- the commit to setpublic java.util.LinkedList<OutputModel> getOutputs()
public void setOutputs(java.util.LinkedList<OutputModel> outputs)
outputs
- the outputs to set