public class ProcessImpl extends Object implements Process, Serializable, ContextResolver
| Constructor and Description |
|---|
ProcessImpl() |
| Modifier and Type | Method and Description |
|---|---|
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() |
Set<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(Set<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.
|
public void setId(String id)
Processid - 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)
Processname - the name of this processpublic String getName()
getName in interface org.kie.api.definition.process.Processpublic void setVersion(String version)
Processversion - 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)
Processtype - the type of this processpublic String getPackageName()
getPackageName in interface org.kie.api.definition.process.Processpublic void setPackageName(String packageName)
ProcesspackageName - the package name of this RuleFlow processpublic List<Context> getContexts(String contextType)
getContexts in interface ContextContainerpublic void addContext(Context context)
addContext in interface ContextContainerpublic 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 Context resolveContext(String contextId, Object param)
resolveContext in interface ContextResolverpublic Map<String,Object> getMetaData()
getMetaData in interface org.kie.api.definition.process.Processpublic 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 Set<String> getImports()
Processpublic void setImports(Set<String> imports)
Processimports - the imports as a List of fully qualified class namespublic List<String> getFunctionImports()
Processpublic void setFunctionImports(List<String> functionImports)
ProcessfunctionImports - the imports as a List of fully qualified class namespublic Map<String,String> getGlobals()
Processpublic void setGlobals(Map<String,String> globals)
Processglobals - the globals as a Map with the name as key and the type as valuepublic String[] getGlobalNames()
Processpublic org.kie.api.definition.KieDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType in interface org.kie.api.definition.KieDefinitionpublic String getNamespace()
getNamespace in interface org.kie.api.definition.KieDefinitionCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.