Class GetTimeTask

java.lang.Object
jadex.bpmn.tutorial.GetTimeTask
All Implemented Interfaces:
jadex.bpmn.model.task.ITask

public class GetTimeTask extends Object implements jadex.bpmn.model.task.ITask
A task that provides the current platform time in the 'time' parameter.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    jadex.future.IFuture<Void>
    cancel(jadex.core.IComponent instance)
    Compensate in case the task is canceled.
    jadex.future.IFuture<Void>
    execute(jadex.bpmn.model.task.ITaskContext context, jadex.core.IComponent process)
    Execute the task.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GetTimeTask

      public GetTimeTask()
  • Method Details

    • execute

      public jadex.future.IFuture<Void> execute(jadex.bpmn.model.task.ITaskContext context, jadex.core.IComponent process)
      Execute the task.
      Specified by:
      execute in interface jadex.bpmn.model.task.ITask
    • cancel

      public jadex.future.IFuture<Void> cancel(jadex.core.IComponent instance)
      Compensate in case the task is canceled.
      Specified by:
      cancel in interface jadex.bpmn.model.task.ITask
      Returns:
      To be notified, when the compensation has completed.