public class EndStateModel extends AbstractStateModel
Constructor and Description |
---|
EndStateModel(String id)
Create an end state model
|
Modifier and Type | Method and Description |
---|---|
Model |
createCopy()
Create a deep copy of this model.
|
String |
getCommit() |
LinkedList |
getOutputs() |
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(String commit) |
void |
setOutputs(LinkedList outputs) |
void |
setView(String view) |
getAttributes, getExceptionHandlers, getId, getOnEntryActions, getParent, getSecured, setAttributes, setExceptionHandlers, setId, setOnEntryActions, setParent, setSecured
public EndStateModel(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 String getView()
public void setView(String view)
view
- the view factory to setpublic String getCommit()
public void setCommit(String commit)
commit
- the commit to setpublic LinkedList getOutputs()
public void setOutputs(LinkedList outputs)
outputs
- the outputs to set