|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jbpm.process.core.impl.ProcessImpl
public class ProcessImpl
Default implementation of a Process
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.drools.definition.KnowledgeDefinition |
---|
KnowledgeDefinition.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. |
KnowledgeDefinition.KnowledgeType |
getKnowledgeType()
|
Map<String,Object> |
getMetaData()
Meta data associated with this Node. |
Object |
getMetaData(String name)
Meta data associated with this Node. |
String |
getName()
The name of the Process. |
String |
getNamespace()
|
String |
getPackageName()
The package name of this process. |
Resource |
getResource()
|
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 |
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 KnowledgeDefinition
getId
in interface Process
public void setName(String name)
Process
name
- the name of this processpublic String getName()
Process
getName
in interface Process
public void setVersion(String version)
Process
version
- the version of this processpublic String getVersion()
Process
getVersion
in interface Process
public String getType()
Process
getType
in interface Process
public void setType(String type)
Process
type
- the type of this processpublic String getPackageName()
Process
getPackageName
in interface Process
public void setPackageName(String packageName)
Process
packageName
- the package name of this RuleFlow processpublic List<Context> getContexts(String contextType)
getContexts
in interface ContextContainer
public void addContext(Context context)
addContext
in interface ContextContainer
public Context getContext(String contextType, long id)
getContext
in interface ContextContainer
public void setDefaultContext(Context context)
setDefaultContext
in interface ContextContainer
public Context getDefaultContext(String contextType)
getDefaultContext
in interface ContextContainer
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public Context resolveContext(String contextId, Object param)
resolveContext
in interface ContextResolver
public Map<String,Object> getMetaData()
Process
getMetaData
in interface Process
public void setMetaData(String name, Object data)
public Object getMetaData(String name)
Process
getMetaData
in interface Process
public Resource getResource()
getResource
in interface ResourcedObject
public void setResource(Resource resource)
setResource
in interface ResourcedObject
public 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 KnowledgeDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType
in interface KnowledgeDefinition
public String getNamespace()
getNamespace
in interface KnowledgeDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |