jadex.bpmn.model.task.ITask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jadex-model-bpmn Show documentation
Show all versions of jadex-model-bpmn Show documentation
Business Process Model and Notation (BPMN) implementation.
The newest version!
package jadex.bpmn.model.task;
import jadex.bridge.IInternalAccess;
import jadex.commons.future.IFuture;
/**
* Interface for domain specific tasks.
* The implementation of a task is annotated in BPMN using the 'class' property.
*/
public interface ITask
{
/**
* Execute the task.
* @param context The accessible values.
* @param process The process instance executing the task.
* @return To be notified, when the task has completed.
*/
public IFuture execute(ITaskContext context, IInternalAccess process);
/**
* Cleanup in case the task is cancelled.
* @return A future to indicate when cancellation has completed.
*/
public IFuture cancel(IInternalAccess instance);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy