Package org.jbpm.process.core
Interface Process
- All Superinterfaces:
ContextContainer,org.kie.api.definition.KieDefinition,org.kie.api.definition.process.Process
- All Known Subinterfaces:
WorkflowProcess
- All Known Implementing Classes:
ProcessImpl,RuleFlowProcess,WorkflowProcessImpl
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition
org.kie.api.definition.KieDefinition.KnowledgeType -
Method Summary
Modifier and TypeMethodDescriptionReturns the function imports of this RuleFlow process.String[]Returns the names of the globals used in this RuleFlow processReturns the globals of this RuleFlow process.Returns the imports of this RuleFlow process.voidsetFunctionImports(List<String> functionImports) Sets the imports of this RuleFlow processvoidsetGlobals(Map<String, String> globals) Sets the imports of this RuleFlow processvoidSets the id of this process.voidsetImports(Set<String> imports) Sets the imports of this RuleFlow processvoidsetMetaData(String name, Object value) voidSets the name of this process.voidsetPackageName(String packageName) Sets the package name of this RuleFlow processvoidSets the type of this process.voidsetVersion(String version) Sets the version of this process.Methods inherited from interface org.jbpm.process.core.ContextContainer
addContext, getContext, getContexts, getDefaultContext, setDefaultContextMethods inherited from interface org.kie.api.definition.KieDefinition
getKnowledgeType, getNamespaceMethods inherited from interface org.kie.api.definition.process.Process
getId, getMetaData, getName, getPackageName, getResource, getType, getVersion, setResource
-
Method Details
-
setId
Sets the id of this process. The id should uniquely identify this process.- Parameters:
id- the id of the process
-
setName
Sets the name of this process.- Parameters:
name- the name of this process
-
setVersion
Sets the version of this process.- Parameters:
version- the version of this process
-
setType
Sets the type of this process.- Parameters:
type- the type of this process
-
setPackageName
Sets the package name of this RuleFlow process- Parameters:
packageName- the package name of this RuleFlow process
-
setMetaData
-
getImports
Returns the imports of this RuleFlow process. They are defined as a List of fully qualified class names.- Returns:
- the imports of this RuleFlow process
-
setImports
Sets the imports of this RuleFlow process- Parameters:
imports- the imports as a List of fully qualified class names
-
getFunctionImports
Returns the function imports of this RuleFlow process. They are defined as a List of fully qualified class names.- Returns:
- the function imports of this RuleFlow process
-
setFunctionImports
Sets the imports of this RuleFlow process- Parameters:
functionImports- the imports as a List of fully qualified class names
-
getGlobals
Returns the globals of this RuleFlow process. They are defined as a Map with the name as key and the type as value.- Returns:
- the imports of this RuleFlow process
-
setGlobals
Sets the imports of this RuleFlow process- Parameters:
globals- the globals as a Map with the name as key and the type as value
-
getGlobalNames
String[] getGlobalNames()Returns the names of the globals used in this RuleFlow process- Returns:
- the names of the globals of this RuleFlow process
-