Package com.opensymphony.workflow.loader
Class ActionDescriptor
java.lang.Object
com.opensymphony.workflow.loader.AbstractDescriptor
com.opensymphony.workflow.loader.ActionDescriptor
- All Implemented Interfaces:
Validatable,XMLizable,Serializable
- Author:
- Pat Lightbody
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected booleanprotected Listprotected Mapprotected Stringprotected Listprotected Listprotected RestrictionDescriptorprotected ResultDescriptorprotected Listprotected String -
Method Summary
Modifier and TypeMethodDescriptionbooleangetName()getView()protected voidbooleanisCommon()booleanisFinish()Deprecated.Since v2.9.0 this will always return false as we do not support finish actions.voidsetAutoExecute(boolean autoExecute) voidsetFinish(boolean finish) voidsetMetaAttributes(Map metaAttributes) voidvoidsetRestriction(RestrictionDescriptor restriction) voidsetUnconditionalResult(ResultDescriptor unconditionalResult) voidtoString()voidvalidate()Validate this element, and propagate validation to all contained sub-elements.voidwriteXML(PrintWriter out, int indent) Methods inherited from class com.opensymphony.workflow.loader.AbstractDescriptor
asXML, getEntityId, getId, getParent, hasId, setEntityId, setId, setParent
-
Field Details
-
conditionalResults
-
postFunctions
-
preFunctions
-
validators
-
metaAttributes
-
restriction
-
unconditionalResult
-
name
-
view
-
autoExecute
protected boolean autoExecute -
common
protected boolean common
-
-
Method Details
-
setAutoExecute
public void setAutoExecute(boolean autoExecute) -
getAutoExecute
public boolean getAutoExecute() -
isCommon
public boolean isCommon() -
getConditionalResults
-
setFinish
public void setFinish(boolean finish) -
isFinish
Deprecated.Since v2.9.0 this will always return false as we do not support finish actions.- Returns:
- always returns false
-
setMetaAttributes
-
getMetaAttributes
-
setName
-
getName
-
getPostFunctions
-
getPreFunctions
-
setRestriction
-
getRestriction
-
setUnconditionalResult
-
getUnconditionalResult
-
getValidators
-
setView
-
getView
-
toString
-
validate
Description copied from interface:ValidatableValidate this element, and propagate validation to all contained sub-elements. Should throw an InvalidWorkflowDescriptorException with details in message if the element is invalid. Validity checks should be checks that cannot be encapsulated in the DTD. Validation has to be called explicitly on writting, a writeXML() does not validate implicitly; it *IS* thus possible to write invalid descriptor files. This could be useful for e.g. a graphical workflow definition editor which would like to write incomplete definitions. Validation *IS* performed on loading a workflow definition.- Specified by:
validatein interfaceValidatable- Throws:
InvalidWorkflowDescriptorException- See Also:
-
writeXML
-
init
-