|
jBPM :: Flow 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 |
|---|
org.kie.api.definition.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()
|
List<String> |
getImports()
Returns the imports of this RuleFlow process. |
org.kie.api.definition.KieDefinition.KnowledgeType |
getKnowledgeType()
|
Map<String,Object> |
getMetaData()
|
Object |
getMetaData(String name)
|
String |
getName()
|
String |
getNamespace()
|
String |
getPackageName()
|
org.kie.api.io.Resource |
getResource()
|
Map<String,Object> |
getRuntimeMetaData()
|
String |
getType()
|
String |
getVersion()
|
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(org.kie.api.io.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()
getId in interface org.kie.api.definition.KieDefinitiongetId in interface org.kie.api.definition.process.Processpublic void setName(String name)
Process
name - the name of this processpublic String getName()
getName in interface org.kie.api.definition.process.Processpublic void setVersion(String version)
Process
version - the version of this processpublic String getVersion()
getVersion in interface org.kie.api.definition.process.Processpublic String getType()
getType in interface org.kie.api.definition.process.Processpublic void setType(String type)
Process
type - the type of this processpublic String getPackageName()
getPackageName in interface org.kie.api.definition.process.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()
getMetaData in interface org.kie.api.definition.process.Process
public void setMetaData(String name,
Object data)
public Object getMetaData(String name)
public org.kie.api.io.Resource getResource()
getResource in interface org.kie.api.definition.process.Processpublic void setResource(org.kie.api.io.Resource resource)
setResource in interface org.kie.api.definition.process.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 org.kie.api.definition.KieDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType in interface org.kie.api.definition.KieDefinitionpublic String getNamespace()
getNamespace in interface org.kie.api.definition.KieDefinitionpublic Map<String,Object> getRuntimeMetaData()
public void setRuntimeMetaData(Map<String,Object> runtimeMetaData)
|
jBPM :: Flow 6.0.0.CR4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||