|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jbpm.process.core.impl.ProcessImpl
public class ProcessImpl
Default implementation of a Process
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.kie.api.definition.KieDefinition |
|---|
KieDefinition.KnowledgeType |
| Constructor Summary | |
|---|---|
ProcessImpl()
|
|
| Method Summary | |
|---|---|
void |
addContext(Context context)
|
boolean |
equals(Object o)
|
Context |
getContext(String contextType,
long id)
|
List<Context> |
getContexts(String contextType)
|
Context |
getDefaultContext(String contextType)
|
List<String> |
getFunctionImports()
Returns the function imports of this RuleFlow process. |
String[] |
getGlobalNames()
Returns the names of the globals used in this RuleFlow process |
Map<String,String> |
getGlobals()
Returns the globals of this RuleFlow process. |
String |
getId()
The unique id of the Process. |
List<String> |
getImports()
Returns the imports of this RuleFlow process. |
KieDefinition.KnowledgeType |
getKnowledgeType()
|
Map<String,Object> |
getMetaData()
Meta data associated with this Node. |
Object |
getMetaData(String name)
|
String |
getName()
The name of the Process. |
String |
getNamespace()
|
String |
getPackageName()
The package name of this process. |
Resource |
getResource()
|
Map<String,Object> |
getRuntimeMetaData()
|
String |
getType()
The type of process. |
String |
getVersion()
The version of the Process. |
int |
hashCode()
|
Context |
resolveContext(String contextId,
Object param)
|
void |
setDefaultContext(Context context)
|
void |
setFunctionImports(List<String> functionImports)
Sets the imports of this RuleFlow process |
void |
setGlobals(Map<String,String> globals)
Sets the imports of this RuleFlow process |
void |
setId(String id)
Sets the id of this process. |
void |
setImports(List<String> imports)
Sets the imports of this RuleFlow process |
void |
setMetaData(String name,
Object data)
|
void |
setName(String name)
Sets the name of this process. |
void |
setPackageName(String packageName)
Sets the package name of this RuleFlow process |
void |
setResource(Resource resource)
|
void |
setRuntimeMetaData(Map<String,Object> runtimeMetaData)
|
void |
setType(String type)
Sets the type of this process. |
void |
setVersion(String version)
Sets the version of this process. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProcessImpl()
| Method Detail |
|---|
public void setId(String id)
Process
id - the id of the processpublic String getId()
Process
getId in interface KieDefinitiongetId in interface Processpublic void setName(String name)
Process
name - the name of this processpublic String getName()
Process
getName in interface Processpublic void setVersion(String version)
Process
version - the version of this processpublic String getVersion()
Process
getVersion in interface Processpublic String getType()
Process
getType in interface Processpublic void setType(String type)
Process
type - the type of this processpublic String getPackageName()
Process
getPackageName in interface Processpublic void setPackageName(String packageName)
Process
packageName - the package name of this RuleFlow processpublic List<Context> getContexts(String contextType)
getContexts in interface ContextContainerpublic void addContext(Context context)
addContext in interface ContextContainer
public Context getContext(String contextType,
long id)
getContext in interface ContextContainerpublic void setDefaultContext(Context context)
setDefaultContext in interface ContextContainerpublic Context getDefaultContext(String contextType)
getDefaultContext in interface ContextContainerpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public Context resolveContext(String contextId,
Object param)
resolveContext in interface ContextResolverpublic Map<String,Object> getMetaData()
Process
getMetaData in interface Process
public void setMetaData(String name,
Object data)
public Object getMetaData(String name)
public Resource getResource()
getResource in interface Processpublic void setResource(Resource resource)
setResource in interface Processpublic List<String> getImports()
Process
public void setImports(List<String> imports)
Process
imports - the imports as a List of fully qualified class namespublic List<String> getFunctionImports()
Process
public void setFunctionImports(List<String> functionImports)
Process
functionImports - the imports as a List of fully qualified class namespublic Map<String,String> getGlobals()
Process
public void setGlobals(Map<String,String> globals)
Process
globals - the globals as a Map with the name as key and the type as valuepublic String[] getGlobalNames()
Process
public KieDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType in interface KieDefinitionpublic String getNamespace()
getNamespace in interface KieDefinitionpublic Map<String,Object> getRuntimeMetaData()
public void setRuntimeMetaData(Map<String,Object> runtimeMetaData)
|
jBPM distribution 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||