Package com.opensymphony.workflow.loader
Class ResultDescriptor
java.lang.Object
com.opensymphony.workflow.loader.AbstractDescriptor
com.opensymphony.workflow.loader.ResultDescriptor
- All Implemented Interfaces:
Validatable,XMLizable,Serializable
- Direct Known Subclasses:
ConditionalResultDescriptor
- Author:
- Pat Lightbody
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintgetJoin()getOwner()intgetSplit()intgetStep()protected voidprotected voidprintPostFunctions(PrintWriter out, int indent) protected voidprintPreFunctions(PrintWriter out, int indent) voidsetDisplayName(String displayName) voidsetJoin(int join) voidsetOldStatus(String oldStatus) voidvoidsetSplit(int split) voidvoidsetStep(int step) 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
-
postFunctions
-
preFunctions
-
validators
-
displayName
-
dueDate
-
oldStatus
-
owner
-
status
-
hasStep
protected boolean hasStep -
join
protected int join -
split
protected int split -
step
protected int step
-
-
Method Details
-
setDisplayName
-
getDisplayName
-
getDueDate
-
setJoin
public void setJoin(int join) -
getJoin
public int getJoin() -
setOldStatus
-
getOldStatus
-
setOwner
-
getOwner
-
getPostFunctions
-
getPreFunctions
-
setSplit
public void setSplit(int split) -
getSplit
public int getSplit() -
setStatus
-
getStatus
-
setStep
public void setStep(int step) -
getStep
public int getStep() -
getValidators
-
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
-
printPostFunctions
-
printPreFunctions
-