java.lang.Object |
↳ |
com.opensymphony.workflow.loader.AbstractDescriptor |
|
↳ |
com.opensymphony.workflow.loader.WorkflowDescriptor |
|
|
↳ |
com.atlassian.jira.workflow.ImmutableWorkflowDescriptor |
Class Overview
Representes an Immutable com.opensymphony.workflow.loader.WorkflowDescriptor. Due to OS workflows great
implementation (lack of Interface, clone() and constructor via object graph), we need to delegate all our getters
to the actual WorkflowDescriptor itself.
Invocation of any setter on this object will cause an UnsupportedOperationException being thrown.
Summary
[Expand]
Inherited Constants |
From class
com.opensymphony.workflow.loader.WorkflowDescriptor
|
From interface
com.opensymphony.workflow.util.XMLizable
|
[Expand]
Inherited Fields |
From class
com.opensymphony.workflow.loader.WorkflowDescriptor
protected
Map |
commonActions |
|
protected
List |
commonActionsList |
|
protected
List |
globalActions |
|
protected
ConditionsDescriptor |
globalConditions |
|
protected
List |
initialActions |
|
protected
List |
joins |
|
protected
Map |
metaAttributes |
|
protected
List |
registers |
|
protected
List |
splits |
|
protected
List |
steps |
|
protected
Map |
timerFunctions |
|
protected
String |
workflowName |
|
|
Protected Methods |
void
|
init(Element root)
|
[Expand]
Inherited Methods |
From class
com.opensymphony.workflow.loader.WorkflowDescriptor
void
|
addCommonAction(ActionDescriptor arg0)
|
void
|
addGlobalAction(ActionDescriptor arg0)
|
void
|
addInitialAction(ActionDescriptor arg0)
|
void
|
addJoin(JoinDescriptor arg0)
|
void
|
addSplit(SplitDescriptor arg0)
|
void
|
addStep(StepDescriptor arg0)
|
ActionDescriptor
|
getAction(int arg0)
|
Map
|
getCommonActions()
|
List
|
getGlobalActions()
|
ConditionsDescriptor
|
getGlobalConditions()
|
ActionDescriptor
|
getInitialAction(int arg0)
|
List
|
getInitialActions()
|
JoinDescriptor
|
getJoin(int arg0)
|
List
|
getJoins()
|
Map
|
getMetaAttributes()
|
String
|
getName()
|
List
|
getRegisters()
|
SplitDescriptor
|
getSplit(int arg0)
|
List
|
getSplits()
|
StepDescriptor
|
getStep(int arg0)
|
List
|
getSteps()
|
FunctionDescriptor
|
getTriggerFunction(int arg0)
|
Map
|
getTriggerFunctions()
|
void
|
init(Element arg0)
|
boolean
|
removeAction(ActionDescriptor arg0)
|
void
|
setName(String arg0)
|
FunctionDescriptor
|
setTriggerFunction(int arg0, FunctionDescriptor arg1)
|
void
|
validate()
|
void
|
writeXML(PrintWriter arg0, int arg1)
|
|
From class
com.opensymphony.workflow.loader.AbstractDescriptor
String
|
asXML()
|
int
|
getEntityId()
|
int
|
getId()
|
AbstractDescriptor
|
getParent()
|
boolean
|
hasId()
|
void
|
setEntityId(int arg0)
|
void
|
setId(int arg0)
|
void
|
setParent(AbstractDescriptor arg0)
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
com.opensymphony.workflow.util.Validatable
|
From interface
com.opensymphony.workflow.util.XMLizable
|
Public Constructors
public
ImmutableWorkflowDescriptor
(WorkflowDescriptor delegate)
Public Methods
public
void
addCommonAction
(ActionDescriptor descriptor)
public
void
addGlobalAction
(ActionDescriptor descriptor)
public
void
addInitialAction
(ActionDescriptor descriptor)
public
void
addJoin
(JoinDescriptor descriptor)
public
void
addSplit
(SplitDescriptor descriptor)
public
void
addStep
(StepDescriptor descriptor)
public
ActionDescriptor
getAction
(int id)
public
Map
getCommonActions
()
public
int
getEntityId
()
public
List
getGlobalActions
()
public
ConditionsDescriptor
getGlobalConditions
()
public
ActionDescriptor
getInitialAction
(int id)
public
List
getInitialActions
()
public
JoinDescriptor
getJoin
(int id)
public
Map
getMetaAttributes
()
public
AbstractDescriptor
getParent
()
public
List
getRegisters
()
public
SplitDescriptor
getSplit
(int id)
public
StepDescriptor
getStep
(int id)
public
FunctionDescriptor
getTriggerFunction
(int id)
public
Map
getTriggerFunctions
()
public
boolean
removeAction
(ActionDescriptor actionToRemove)
public
void
setEntityId
(int entityId)
public
void
setId
(int id)
public
void
setName
(String name)
public
void
setParent
(AbstractDescriptor parent)
public
FunctionDescriptor
setTriggerFunction
(int id, FunctionDescriptor descriptor)
public
void
validate
()
Throws
InvalidWorkflowDescriptorException
| |
Protected Methods
protected
void
init
(Element root)