org.jbpm.task
Interface OpenTask

All Superinterfaces:
Assignable, java.io.Serializable, Task

public interface OpenTask
extends Task, Assignable

Author:
Tom Baeyens

Method Summary
 void cancel(java.lang.String reason)
           
 OpenTask createSubTask()
           
 OpenTask createSubTask(java.lang.String name)
           
 ClientExecution getExecution()
           
 void historyTaskCancel(java.lang.String reason)
          fires a history event that marks the cancellation of this task.
 void historyTaskComplete(java.lang.String outcome)
          fires a history event that marks the completion of this task.
 void historyTaskStart()
          fires a history event that marks the start of this task.
 boolean isSignalling()
           
 void setSignalling(boolean isSignalling)
           
 
Methods inherited from interface org.jbpm.task.Task
getAssignee, getCreate, getDbid, getDescription, getDueDate, getName, getPriority, setAssignee, setDescription, setDueDate, setName, setPriority
 
Methods inherited from interface org.jbpm.task.Assignable
addCandidateGroup, addCandidateUser, setAssignee
 

Method Detail

getExecution

ClientExecution getExecution()

createSubTask

OpenTask createSubTask()

createSubTask

OpenTask createSubTask(java.lang.String name)

historyTaskStart

void historyTaskStart()
fires a history event that marks the start of this task.


historyTaskComplete

void historyTaskComplete(java.lang.String outcome)
fires a history event that marks the completion of this task.


historyTaskCancel

void historyTaskCancel(java.lang.String reason)
fires a history event that marks the cancellation of this task.


isSignalling

boolean isSignalling()

setSignalling

void setSignalling(boolean isSignalling)

cancel

void cancel(java.lang.String reason)


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