
ee.telekom.workflow.graph.GraphWorkItem Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of workflow-engine Show documentation
Show all versions of workflow-engine Show documentation
Telekom-workflow-engine core provides the runtime environment for workflow execution together with all the supporting services (clustering, persistence, error handling etc).
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 - 2025 Weber Informatics LLC | Privacy Policy