Interface Process
-
- All Known Subinterfaces:
WorkflowProcess
public interface ProcessA Process represents one modular piece of business logic that can be executed by a process engine. Different types of processes may exist.
-
-
Field Summary
Fields Modifier and Type Field Description static StringFUNCTION_FLOW_TYPEstatic StringFUNCTION_TYPEstatic StringWORKFLOW_TYPE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()The unique id of the Process.Map<String,Object>getMetaData()Meta data associated with this Node.StringgetName()The name of the Process.StringgetPackageName()The package name of this process.ResourcegetResource()StringgetType()The type of process.StringgetVersion()The version of the Process.voidsetResource(Resource res)
-
-
-
Field Detail
-
WORKFLOW_TYPE
static final String WORKFLOW_TYPE
- See Also:
- Constant Field Values
-
FUNCTION_TYPE
static final String FUNCTION_TYPE
- See Also:
- Constant Field Values
-
FUNCTION_FLOW_TYPE
static final String FUNCTION_FLOW_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
String getId()
The unique id of the Process.- Returns:
- the id
-
getName
String getName()
The name of the Process.- Returns:
- the name
-
getVersion
String getVersion()
The version of the Process. You may use your own versioning format (as the version is not interpreted by the engine).- Returns:
- the version
-
getPackageName
String getPackageName()
The package name of this process.- Returns:
- the package name
-
getType
String getType()
The type of process. Different types of processes may exist. This defaults to "RuleFlow".- Returns:
- the type
-
getResource
Resource getResource()
-
setResource
void setResource(Resource res)
-
-