Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1

org.drools.impl.adapters
Class ProcessAdapter

java.lang.Object
  extended by org.drools.impl.adapters.ProcessAdapter
All Implemented Interfaces:
KnowledgeDefinition, Process

public class ProcessAdapter
extends Object
implements Process


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.drools.definition.KnowledgeDefinition
KnowledgeDefinition.KnowledgeType
 
Field Summary
 org.kie.api.definition.process.Process delegate
           
 
Constructor Summary
ProcessAdapter(org.kie.api.definition.process.Process delegate)
           
 
Method Summary
static Collection<Process> adaptProcesses(Collection<org.kie.api.definition.process.Process> processes)
           
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

public final org.kie.api.definition.process.Process delegate
Constructor Detail

ProcessAdapter

public ProcessAdapter(org.kie.api.definition.process.Process delegate)
Method Detail

getKnowledgeType

public KnowledgeDefinition.KnowledgeType getKnowledgeType()
Specified by:
getKnowledgeType in interface KnowledgeDefinition

getNamespace

public String getNamespace()
Specified by:
getNamespace in interface KnowledgeDefinition

getId

public String getId()
Description copied from interface: Process
The unique id of the Process.

Specified by:
getId in interface KnowledgeDefinition
Specified by:
getId in interface Process
Returns:
the id

getName

public String getName()
Description copied from interface: Process
The name of the Process.

Specified by:
getName in interface Process
Returns:
the name

getVersion

public String getVersion()
Description copied from interface: Process
The version of the Process. You may use your own versioning format (as the version is not interpreted by the engine).

Specified by:
getVersion in interface Process
Returns:
the version

getPackageName

public String getPackageName()
Description copied from interface: Process
The package name of this process.

Specified by:
getPackageName in interface Process
Returns:
the package name

getType

public String getType()
Description copied from interface: Process
The type of process. Different types of processes may exist. This defaults to "RuleFlow".

Specified by:
getType in interface Process
Returns:
the type

getMetaData

public Map<String,Object> getMetaData()
Description copied from interface: Process
Meta data associated with this Node.

Specified by:
getMetaData in interface Process

getMetaData

public Object getMetaData(String name)
Description copied from interface: Process
Meta data associated with this Node.

Specified by:
getMetaData in interface Process

adaptProcesses

public static Collection<Process> adaptProcesses(Collection<org.kie.api.definition.process.Process> processes)

Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.