All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ee.telekom.workflow.graph.GraphWorkItem Maven / Gradle / Ivy

package ee.telekom.workflow.graph;

import java.util.Date;
import java.util.Map;

/**
 * When a {@link Node} execution does not immediately return a result it may
 * entitle an external system to perform some actions asynchronously. The action
 * to be done is described by a work item (e.g. wait for a timer or an incoming
 * signal, call a method on a bean or ask a human to perform a task).
 * 

* Another way of describing a {@link GraphWorkItem} is: A work item is a handle/reference * to an uncompleted node execution in order to complete it at some future point in time. */ public interface GraphWorkItem{ Long getExternalId(); Long getExternalGraphInstanceId(); Token getToken(); String getSignal(); Date getDueDate(); String getBean(); String getMethod(); String getRole(); String getUser(); Object[] getTaskArguments(); Map getHumanTaskArguments(); Object getResult(); WorkItemStatus getStatus(); void setStatus( WorkItemStatus status ); void setResult( Object result ); }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy