Package com.opensymphony.workflow.loader
Class MockStepDescriptor
java.lang.Object
com.opensymphony.workflow.loader.AbstractDescriptor
com.opensymphony.workflow.loader.StepDescriptor
com.opensymphony.workflow.loader.MockStepDescriptor
- All Implemented Interfaces:
com.opensymphony.workflow.util.Validatable
,com.opensymphony.workflow.util.XMLizable
,Serializable
public class MockStepDescriptor
extends com.opensymphony.workflow.loader.StepDescriptor
Needed for the Unit tests. Since osworkflow 2.8 all descriptors have package
level access restrictions.
- See Also:
-
Field Summary
Fields inherited from class com.opensymphony.workflow.loader.StepDescriptor
actions, commonActions, hasActions, metaAttributes, name, permissions, postFunctions, preFunctions
Fields inherited from interface com.opensymphony.workflow.util.XMLizable
INDENT
-
Constructor Summary
-
Method Summary
Methods inherited from class com.opensymphony.workflow.loader.StepDescriptor
getAction, getActions, getCommonActions, getMetaAttributes, getName, getPermissions, getPostFunctions, getPreFunctions, init, removeActions, resultsInJoin, setMetaAttributes, setName, setPostFunctions, setPreFunctions, validate, writeXML
Methods inherited from class com.opensymphony.workflow.loader.AbstractDescriptor
asXML, getEntityId, getParent, hasId, setEntityId, setId, setParent
-
Constructor Details
-
MockStepDescriptor
public MockStepDescriptor() -
MockStepDescriptor
public MockStepDescriptor(int id) -
MockStepDescriptor
-
-
Method Details
-
getId
public int getId()- Overrides:
getId
in classcom.opensymphony.workflow.loader.AbstractDescriptor
-