public class ActionDescriptor extends AbstractDescriptor implements Validatable
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoExecute |
protected boolean |
common |
protected List |
conditionalResults |
protected Map |
metaAttributes |
protected String |
name |
protected List |
postFunctions |
protected List |
preFunctions |
protected RestrictionDescriptor |
restriction |
protected ResultDescriptor |
unconditionalResult |
protected List |
validators |
protected String |
view |
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoExecute() |
List |
getConditionalResults() |
Map |
getMetaAttributes() |
String |
getName() |
List |
getPostFunctions() |
List |
getPreFunctions() |
RestrictionDescriptor |
getRestriction() |
ResultDescriptor |
getUnconditionalResult() |
List |
getValidators() |
String |
getView() |
protected void |
init(Element action) |
boolean |
isCommon() |
boolean |
isFinish()
Deprecated.
Since v2.9.0 this will always return false as we do not support finish actions.
|
void |
setAutoExecute(boolean autoExecute) |
void |
setFinish(boolean finish) |
void |
setMetaAttributes(Map metaAttributes) |
void |
setName(String name) |
void |
setRestriction(RestrictionDescriptor restriction) |
void |
setUnconditionalResult(ResultDescriptor unconditionalResult) |
void |
setView(String view) |
String |
toString() |
void |
validate()
Validate this element, and propagate validation to all contained sub-elements.
|
void |
writeXML(PrintWriter out,
int indent) |
asXML, getEntityId, getId, getParent, hasId, setEntityId, setId, setParent
protected List conditionalResults
protected List postFunctions
protected List preFunctions
protected List validators
protected Map metaAttributes
protected RestrictionDescriptor restriction
protected ResultDescriptor unconditionalResult
protected String name
protected String view
protected boolean autoExecute
protected boolean common
public void setAutoExecute(boolean autoExecute)
public boolean getAutoExecute()
public boolean isCommon()
public List getConditionalResults()
public void setFinish(boolean finish)
@Deprecated public boolean isFinish()
public void setMetaAttributes(Map metaAttributes)
public Map getMetaAttributes()
public void setName(String name)
public String getName()
public List getPostFunctions()
public List getPreFunctions()
public void setRestriction(RestrictionDescriptor restriction)
public RestrictionDescriptor getRestriction()
public void setUnconditionalResult(ResultDescriptor unconditionalResult)
public ResultDescriptor getUnconditionalResult()
public List getValidators()
public void setView(String view)
public String getView()
public void validate() throws InvalidWorkflowDescriptorException
Validatable
validate
in interface Validatable
InvalidWorkflowDescriptorException
WorkflowLoader.load(java.io.InputStream)
public void writeXML(PrintWriter out, int indent)
protected void init(Element action)
Copyright © 2021 catworkx GmbH. All rights reserved.