Interface ProcessInstance

All Superinterfaces:
ProcessReference

public interface ProcessInstance extends ProcessReference
ProcessInstance This represents an EPEx process instance.
  • Method Details

    • getProcessState

      ProcessState getProcessState()
      Returns:
      the process's current (live) state (typically starting from REQUESTED through DELETED)
    • getModel

      Model getModel()
      Returns:
      the process's Model, which will have information relevant to all process instances of this Model, e.g., the available VariableReferences.
    • getData

      <C> C getData(VariableReference variableReference, DataStrategy<C> dataStrategy)
      Get the value of this VariableReference, according to the given DataStrategy. NOTE: This is the live result stored in persistent storage, which may not yet reflect cached data in the running process..
      Type Parameters:
      C -
      Parameters:
      variableReference -
      dataStrategy - see constants in EPEx.
      Returns: