Interface EndOfInstanceStrategy


public interface EndOfInstanceStrategy
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    perform(ProcessInstance<?> instance)
    Performs additional work associated with the strategy on given instance
    boolean
    Indicates if the instance should be removed from the storage
    boolean
    Indicates if the instance should be updated in the storage
  • Method Details

    • shouldInstanceBeRemoved

      boolean shouldInstanceBeRemoved()
      Indicates if the instance should be removed from the storage
      Returns:
      true for removing it otherwise false
    • shouldInstanceBeUpdated

      boolean shouldInstanceBeUpdated()
      Indicates if the instance should be updated in the storage
      Returns:
      true for updating it otherwise false
    • perform

      void perform(ProcessInstance<?> instance)
      Performs additional work associated with the strategy on given instance
      Parameters:
      instance - instance that is at its end