Interface ProcessContext<T>

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultProcessContextImpl

public interface ProcessContext<T> extends Serializable
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the seed information
    boolean
    Is the process stopped
    void
    setSeedData(T seedObject)
    Provide seed information to this ProcessContext, usually provided at time of workflow kickoff by the containing workflow processor.
    boolean
    Activly informs the workflow process to stop processing no further activities will be executed
  • Method Details

    • stopProcess

      boolean stopProcess()
      Activly informs the workflow process to stop processing no further activities will be executed
      Returns:
      whether or not the stop process call was successful
    • isStopped

      boolean isStopped()
      Is the process stopped
      Returns:
      whether or not the process is stopped
    • getSeedData

      T getSeedData()
      Returns the seed information
      Returns:
    • setSeedData

      void setSeedData(T seedObject)
      Provide seed information to this ProcessContext, usually provided at time of workflow kickoff by the containing workflow processor.
      Parameters:
      seedObject - - initial seed data for the workflow