org.drools.ruleflow.common.core
Interface Process

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
RuleFlowProcess
All Known Implementing Classes:
ProcessImpl, RuleFlowProcessImpl

public interface Process
extends java.io.Serializable

Represents a some process definition. A process has a name and a unique id. When a new version of a process is created, the name stays the same, but the id and the version of the process should be different. Different types of processes could be defined (like RuleFlow).

Author:
Kris Verlaenen

Method Summary
 java.lang.String getId()
          Returns the id of this process.
 java.lang.String getName()
          Returns the name of this process.
 java.lang.String getPackageName()
          Returns the package name of this RuleFlow process
 java.lang.String getType()
          Returns the type of this process.
 java.lang.String getVersion()
          Returns the version of this process.
 void setId(java.lang.String id)
          Sets the id of this process.
 void setName(java.lang.String name)
          Sets the name of this process.
 void setPackageName(java.lang.String packageName)
          Sets the package name of this RuleFlow process
 void setType(java.lang.String type)
          Sets the type of this process.
 void setVersion(java.lang.String version)
          Sets the version of this process.
 

Method Detail

setId

void setId(java.lang.String id)
Sets the id of this process. The id should uniquely identify this process.

Parameters:
id - the id of the process

getId

java.lang.String getId()
Returns the id of this process.

Returns:
the id of this process

setName

void setName(java.lang.String name)
Sets the name of this process.

Parameters:
name - the name of this process

getName

java.lang.String getName()
Returns the name of this process. If no name is specified, null is returned.

Returns:
the name of this process

setVersion

void setVersion(java.lang.String version)
Sets the version of this process.

Parameters:
version - the version of this process

getVersion

java.lang.String getVersion()
Returns the version of this process. If no version is specified, null is returned.

Returns:
the version of this process

setType

void setType(java.lang.String type)
Sets the type of this process.

Parameters:
type - the type of this process

getType

java.lang.String getType()
Returns the type of this process.

Returns:
the type of this process

setPackageName

void setPackageName(java.lang.String packageName)
Sets the package name of this RuleFlow process

Parameters:
packageName - the package name of this RuleFlow process

getPackageName

java.lang.String getPackageName()
Returns the package name of this RuleFlow process

Returns:
the package name of this RuleFlow process