|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
is the interface that provides access to the process execution context information for the delegation implementations.
Method Summary | |
void |
cancelEvent(java.lang.String reference)
cancels all scheduled events with the given reference. |
void |
createVariable(java.lang.String name,
Token token,
DefaultType defaultType)
creates a local variable for the token. |
void |
createVariable(java.lang.String name,
Token token,
Type type)
creates a local variable for the token. |
Type |
findTypeByJavaType(java.lang.String javaType)
searches for the type in the current process definition that matches the given java-type for creating token-local variables with createVariable(String, Token, Type) . |
java.lang.String |
getActorId()
gets the actorId in which this delegation is executed. |
Definition |
getDefinition()
gets the Definition . |
ExecutionService |
getExecutionService()
retrieves the execution service. |
ExecutionService |
getExecutionService(java.lang.String actorId)
retrieves the execution service for a given actor. |
Node |
getNode()
gets the Node in which this delegation is executed. |
java.lang.String |
getPreviousActorId()
gets the previous actorId. |
ProcessInstance |
getProcessInstance()
gets the ProcessInstance . |
SchedulerService |
getSchedulerService()
provides access to the jbpm job scheduler service. |
Token |
getToken()
gets the Flow in which this delegation is executed. |
java.lang.Object |
getVariable(java.lang.String name)
gets the value of a variable. |
void |
log(org.jbpm.util.log.Level level,
java.lang.String msg)
allows the delegate-implementations to log events to the database. |
void |
log(java.lang.String msg)
allows the delegate-implementations to log events to the database. |
void |
milestoneReached(java.lang.String milestoneName)
signals that a milestone has been reached. |
void |
setVariable(java.lang.String name,
java.lang.Object value)
sets the variable with the specified name to the specified value. |
Method Detail |
public Definition getDefinition()
Definition
.
public ProcessInstance getProcessInstance()
ProcessInstance
.
public Token getToken()
Flow
in which this delegation is executed.
public java.lang.String getActorId()
public java.lang.String getPreviousActorId()
public Node getNode()
Node
in which this delegation is executed.
public java.lang.Object getVariable(java.lang.String name)
public void setVariable(java.lang.String name, java.lang.Object value)
public Type findTypeByJavaType(java.lang.String javaType)
createVariable(String, Token, Type)
.
public void createVariable(java.lang.String name, Token token, Type type)
findTypeByJavaType(String)
to find the type.
public void createVariable(java.lang.String name, Token token, DefaultType defaultType)
public void log(java.lang.String msg)
public void log(org.jbpm.util.log.Level level, java.lang.String msg)
public void cancelEvent(java.lang.String reference)
public void milestoneReached(java.lang.String milestoneName) throws ExecutionException
ExecutionException
public ExecutionService getExecutionService()
public ExecutionService getExecutionService(java.lang.String actorId)
public SchedulerService getSchedulerService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |