Module io.automatiko.engine.api
Interface Process
- All Known Subinterfaces:
WorkflowProcess
public interface Process
A 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 -
Method Summary
Modifier and TypeMethodDescriptiongetId()The unique id of the Process.Meta data associated with this Node.getName()The name of the Process.The package name of this process.getType()The type of process.The version of the Process.voidsetResource(Resource res)
-
Field Details
-
WORKFLOW_TYPE
- See Also:
-
FUNCTION_TYPE
- See Also:
-
FUNCTION_FLOW_TYPE
- See Also:
-
-
Method Details
-
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
-
getMetaData
Meta data associated with this Node. -
getResource
Resource getResource() -
setResource
-