org.jbpm.job
Class CleanUpProcessJob

java.lang.Object
  extended by org.jbpm.job.Job
      extended by org.jbpm.job.CleanUpProcessJob
All Implemented Interfaces:
Serializable

public class CleanUpProcessJob
extends Job

Cancels jobs associated to a process instance.

Author:
Alejandro Guizar
See Also:
JBPM-1709, Serialized Form

Constructor Summary
CleanUpProcessJob()
           
CleanUpProcessJob(Token token)
           
 
Method Summary
 boolean execute(JbpmContext jbpmContext)
           
 String toString()
           
 
Methods inherited from class org.jbpm.job.Job
getAqcuireDate, getConfiguration, getDueDate, getException, getId, getJobExecutorName, getLockOwner, getLockTime, getProcessInstance, getRetries, getTaskInstance, getToken, getVersion, isExclusive, isSuspended, setConfiguration, setDueDate, setException, setExclusive, setLockOwner, setLockTime, setProcessInstance, setRetries, setSuspended, setTaskInstance, setToken, toStringLongFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CleanUpProcessJob

public CleanUpProcessJob()

CleanUpProcessJob

public CleanUpProcessJob(Token token)
Method Detail

execute

public boolean execute(JbpmContext jbpmContext)
                throws Exception
Specified by:
execute in class Job
Throws:
Exception

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.