palio.modules.hetman
Class Process
java.lang.Object
palio.modules.hetman.Process
public class Process
- extends java.lang.Object
- Author:
- Krzysztof Madyniak (kmadyniak@torn.com.pl)
Constructor Summary |
Process(Instance instance,
java.lang.String processName,
org.w3c.dom.Document xml)
|
Process(Instance instance,
java.lang.String processName,
org.w3c.dom.Document xml,
java.lang.Boolean forTemplate)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAIN_SUBPROCESS_NAME
public static final java.lang.String MAIN_SUBPROCESS_NAME
- See Also:
- Constant Field Values
Process
public Process(Instance instance,
java.lang.String processName,
org.w3c.dom.Document xml)
throws palio.PalioException,
HetmanException,
ProcessException
- Throws:
palio.PalioException
HetmanException
ProcessException
Process
public Process(Instance instance,
java.lang.String processName,
org.w3c.dom.Document xml,
java.lang.Boolean forTemplate)
throws palio.PalioException,
HetmanException,
ProcessException
- Throws:
palio.PalioException
HetmanException
ProcessException
getState
public State getState(java.lang.String id)
throws ProcessException
- Throws:
ProcessException
getProcessManager
public ProcessManager getProcessManager()
throws HetmanException
- Throws:
HetmanException
clearProcessManager
public void clearProcessManager()
getProcessDispatcher
public ProcessDispatcher getProcessDispatcher()
executeProcess
public void executeProcess(java.lang.Object instanceId,
java.util.Map<java.lang.String,java.lang.Object> contextParams)
throws HetmanException
- Throws:
HetmanException
getName
public java.lang.String getName()
getPrefix
public java.lang.String getPrefix()
getDefinitionDate
public java.util.Date getDefinitionDate()
getInstance
public Instance getInstance()
getLogger
public org.apache.log4j.Logger getLogger()
getErrorView
public ProcessError getErrorView()
getStateView
public ProcessView getStateView()
getBreakView
public ProcessBreak getBreakView()
getSecurity
public SecurityManager getSecurity()
getProcessPage
public ProcessPage getProcessPage()
getConnectors
public java.lang.Object[] getConnectors()
getStates
public java.util.HashMap<java.lang.String,State> getStates()
getManagerClassName
public java.lang.String getManagerClassName()
getMainSubprocess
public Subprocess getMainSubprocess()
throws ProcessException
- Throws:
ProcessException
getSubprocess
public Subprocess getSubprocess(java.lang.String subprocessName)
throws ProcessException
- Throws:
ProcessException
subprcessesEnabled
public boolean subprcessesEnabled()
getStatesBefore
public java.util.HashSet<State> getStatesBefore(State refState,
boolean includeRefState)
throws ProcessException
- Throws:
ProcessException
getStatesAfter
public java.util.HashSet<State> getStatesAfter(State refState,
boolean includeRefState)
throws ProcessException
- Throws:
ProcessException