Interface Comp<M extends Model>


public interface Comp<M extends Model>
A computation (Issue, Valication, etc) which can be invoked in the context of an action-based workflow.
  • Method Summary

    Modifier and Type Method Description
    void execute​(M input, M current, ActionBasedWorkflowContext<M> context)
    Executes this computation.
  • Method Details

    • execute

      void execute​(M input, M current, ActionBasedWorkflowContext<M> context) throws java.lang.Exception
      Executes this computation.
      Parameters:
      input - the original Model which was passed in to the workflow
      current - current "working copy" of the Model
      context - context of the current action based workflow
      Throws:
      java.lang.Exception - any Exception can be thrown by the client to abort the computation - this Exception will cause all Models being written in this workflow to fail