站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

IProcess (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.ruleflow.common.core
Interface IProcess

All Known Subinterfaces:
IRuleFlowProcess
All Known Implementing Classes:
Process, RuleFlowProcess

public interface IProcess

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
 String getId()
          Returns the id of this process.
 String getName()
          Returns the name of this process.
 String getType()
          Returns the type of this process.
 String getVersion()
          Returns the version of this process.
 void setId(String id)
          Sets the id of this process.
 void setName(String name)
          Sets the name of this process.
 void setType(String type)
          Sets the type of this process.
 void setVersion(String version)
          Sets the version of this process.
 

Method Detail

setId

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

Parameters:
id - the id of the process

getId

String getId()
Returns the id of this process.

Returns:
the id of this process

setName

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

Parameters:
name - the name of this process

getName

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(String version)
Sets the version of this process.

Parameters:
version - the version of this process

getVersion

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(String type)
Sets the type of this process.

Parameters:
type - the type of this process

getType

String getType()
Returns the type of this process.

Returns:
the type of this process


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.