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

    Constructors
    Constructor
    Description
     
     
    MockStepDescriptor(int id, String name)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MockStepDescriptor

      public MockStepDescriptor()
    • MockStepDescriptor

      public MockStepDescriptor(int id)
    • MockStepDescriptor

      public MockStepDescriptor(int id, String name)
  • Method Details

    • getId

      public int getId()
      Overrides:
      getId in class com.opensymphony.workflow.loader.AbstractDescriptor