Class ExecuteTimerCommand

  extended by
All Implemented Interfaces:, org.jbpm.command.Command

public class ExecuteTimerCommand
extends java.lang.Object
implements org.jbpm.command.Command

Command for processing timer executions, based on the jBPM code.

See Also:
Serialized Form

Constructor Summary
ExecuteTimerCommand(long timerId, boolean redelivered)
          Create the timer command with a specified timer id.
Method Summary
 java.lang.Object execute(org.jbpm.JbpmContext jbpmContext)
          Execute the command.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public ExecuteTimerCommand(long timerId,
                           boolean redelivered)
Create the timer command with a specified timer id.

timerId - The associated timer id.
redelivered - The redelivered flag.
Method Detail


public java.lang.Object execute(org.jbpm.JbpmContext jbpmContext)
                         throws java.lang.Exception
Execute the command.

Specified by:
execute in interface org.jbpm.command.Command
jbpmContext - The jBPM context associated with the execution.
java.lang.Exception - for errors during execution.