public class ProcessAdapter extends Object implements Process
KnowledgeDefinition.KnowledgeType
Modifier and Type | Field and Description |
---|---|
org.kie.api.definition.process.Process |
delegate |
Constructor and Description |
---|
ProcessAdapter(org.kie.api.definition.process.Process delegate) |
Modifier and Type | Method and Description |
---|---|
static Collection<Process> |
adaptProcesses(Collection<org.kie.api.definition.process.Process> processes) |
boolean |
equals(Object obj) |
org.kie.api.definition.process.Process |
getDelegate() |
String |
getId()
The unique id of the 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.
|
String |
getType()
The type of process.
|
String |
getVersion()
The version of the Process.
|
int |
hashCode() |
public ProcessAdapter(org.kie.api.definition.process.Process delegate)
public org.kie.api.definition.process.Process getDelegate()
public KnowledgeDefinition.KnowledgeType getKnowledgeType()
getKnowledgeType
in interface KnowledgeDefinition
public String getNamespace()
getNamespace
in interface KnowledgeDefinition
public String getId()
Process
getId
in interface KnowledgeDefinition
getId
in interface Process
public String getVersion()
Process
getVersion
in interface Process
public String getPackageName()
Process
getPackageName
in interface Process
public String getType()
Process
public Map<String,Object> getMetaData()
Process
getMetaData
in interface Process
public Object getMetaData(String name)
Process
getMetaData
in interface Process
public static Collection<Process> adaptProcesses(Collection<org.kie.api.definition.process.Process> processes)
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.