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

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


org.drools.ruleflow.common.instance.impl
Class ProcessInstance

java.lang.Object
  extended by org.drools.ruleflow.common.instance.impl.ProcessInstance
All Implemented Interfaces:
Serializable, IProcessInstance
Direct Known Subclasses:
RuleFlowProcessInstance

public abstract class ProcessInstance
extends Object
implements IProcessInstance

Default implementation of a process instance.

Author:
Kris Verlaenen
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.drools.ruleflow.common.instance.IProcessInstance
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED
 
Constructor Summary
ProcessInstance()
           
 
Method Summary
 long getId()
           
 IProcess getProcess()
           
 int getState()
           
 void setId(long id)
           
 void setProcess(IProcess process)
           
 void setState(int state)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessInstance

public ProcessInstance()
Method Detail

setId

public void setId(long id)
Specified by:
setId in interface IProcessInstance

getId

public long getId()
Specified by:
getId in interface IProcessInstance

setProcess

public void setProcess(IProcess process)
Specified by:
setProcess in interface IProcessInstance

getProcess

public IProcess getProcess()
Specified by:
getProcess in interface IProcessInstance

setState

public void setState(int state)
Specified by:
setState in interface IProcessInstance

getState

public int getState()
Specified by:
getState in interface IProcessInstance

toString

public String toString()
Overrides:
toString in class Object


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