Class ProcessDefinition
java.lang.Object
com.aquima.interactions.process.impl.ProcessDefinition
- All Implemented Interfaces:
IProcessDefinition
This class holds the static definition of a process.
- Since:
- 7.1
- Author:
- Jon van Leuven
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ProcessDefinition
(IProcessEngineDefinitions processEngineDefinitions, IProject project, IProcessFlowDS datasource, IExpressionParser parser) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
addEventStartDefinition
(IProcessEventStartDefinition eventStart) void
addExitEvent
(ProcessExit processExit) This method returns an array containing the process (tasks) that should be scheduled whenever their conditions are met.This method returns a description of the process.This method returns the display name for the process.This method returns the definitions of how to start this process by a message event.String[]
This method returns all exit states of the process.getId()
This method returns the ID of the process.getName()
This method returns the name of the process.protected IProcessEngineDefinitions
getProcessExit
(String exitState) This method returns the processexit for a certain exit state.IRole[]
getRoles()
This method returns an array containing the roles that are required for the process.This method returns the start node of the process.protected ProcessTypeDefinition
getType()
This method returns the name of the type of the process.void
setStartNode
(IProcessNodeDefinition startNode) toString()
-
Constructor Details
-
ProcessDefinition
protected ProcessDefinition(IProcessEngineDefinitions processEngineDefinitions, IProject project, IProcessFlowDS datasource, IExpressionParser parser)
-
-
Method Details
-
getId
Description copied from interface:IProcessDefinition
This method returns the ID of the process.- Specified by:
getId
in interfaceIProcessDefinition
- Returns:
- the ID of the process, may not be null.
-
getName
Description copied from interface:IProcessDefinition
This method returns the name of the process.- Specified by:
getName
in interfaceIProcessDefinition
- Returns:
- the name of the process.
-
getDescription
Description copied from interface:IProcessDefinition
This method returns a description of the process.- Specified by:
getDescription
in interfaceIProcessDefinition
- Returns:
- a description of the process.
-
getDisplayName
Description copied from interface:IProcessDefinition
This method returns the display name for the process.- Specified by:
getDisplayName
in interfaceIProcessDefinition
- Returns:
- the display name for the process.
-
getType
-
getTypeName
Description copied from interface:IProcessDefinition
This method returns the name of the type of the process.- Specified by:
getTypeName
in interfaceIProcessDefinition
- Returns:
- the name of the type of the process.
-
addAdHocTask
-
getAdhocProcessTasks
Description copied from interface:IProcessDefinition
This method returns an array containing the process (tasks) that should be scheduled whenever their conditions are met. The conditions of these tasks will be checked whenever the case data changes, and the current process is still active.- Specified by:
getAdhocProcessTasks
in interfaceIProcessDefinition
- Returns:
- an array containing the process (tasks) that should be scheduled whenever their conditions are met.
-
getRoles
Description copied from interface:IProcessDefinition
This method returns an array containing the roles that are required for the process.- Specified by:
getRoles
in interfaceIProcessDefinition
- Returns:
- array containing the roles that are required for the process.
-
getStartNode
Description copied from interface:IProcessDefinition
This method returns the start node of the process. This node is used to start a subprocess or for the deprecated api call createCase- Specified by:
getStartNode
in interfaceIProcessDefinition
- Returns:
- the start node of the process.
-
setStartNode
-
getExitStates
Description copied from interface:IProcessDefinition
This method returns all exit states of the process.- Specified by:
getExitStates
in interfaceIProcessDefinition
- Returns:
- The names of the exit states, never null.
-
getProcessExit
Description copied from interface:IProcessDefinition
This method returns the processexit for a certain exit state.- Specified by:
getProcessExit
in interfaceIProcessDefinition
- Returns:
- The exit definition for a state.
-
toString
-
getEventStartDefinitions
Description copied from interface:IProcessDefinition
This method returns the definitions of how to start this process by a message event.- Specified by:
getEventStartDefinitions
in interfaceIProcessDefinition
- Returns:
- an array of start definitions
-
getProcessEngineDefinitions
-
addExitEvent
-
addEventStartDefinition
public void addEventStartDefinition(IProcessEventStartDefinition eventStart) throws InitializationException - Throws:
InitializationException
-