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

SchedulerInstance (jbpm-3.0.4) - JBoss JBPM 3.0.4 API 英文版文档


org.jbpm.scheduler.exe
Class SchedulerInstance

java.lang.Object
  extended byorg.jbpm.module.exe.ModuleInstance
      extended byorg.jbpm.scheduler.exe.SchedulerInstance
All Implemented Interfaces:
java.io.Serializable

public class SchedulerInstance
extends ModuleInstance

process instance extension for scheduling and cancalling timers.

See Also:
Serialized Form

Nested Class Summary
static class SchedulerInstance.CancelledTimer
           
 
Field Summary
 
Fields inherited from class org.jbpm.module.exe.ModuleInstance
processInstance
 
Constructor Summary
SchedulerInstance()
           
SchedulerInstance(ProcessInstance processInstance)
           
 
Method Summary
 void cancel(java.lang.String timerName, Token token)
          cancels all scheduled timers with the given name.
 java.util.List getCancelledTimerNames()
           
 java.util.List getScheduledTimers()
           
 boolean isProcessEnded()
           
 void schedule(Timer timer)
          schedules a timer.
 void setProcessEnded(boolean isProcessEnded)
           
 
Methods inherited from class org.jbpm.module.exe.ModuleInstance
getId, getProcessInstance, setProcessInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerInstance

public SchedulerInstance()

SchedulerInstance

public SchedulerInstance(ProcessInstance processInstance)
Method Detail

schedule

public void schedule(Timer timer)
schedules a timer.


cancel

public void cancel(java.lang.String timerName,
                   Token token)
cancels all scheduled timers with the given name.


getScheduledTimers

public java.util.List getScheduledTimers()

getCancelledTimerNames

public java.util.List getCancelledTimerNames()

isProcessEnded

public boolean isProcessEnded()

setProcessEnded

public void setProcessEnded(boolean isProcessEnded)


Version : jbpm-3.0.4