Class Execution


  • public final class Execution
    extends Object
    • Constructor Detail

      • Execution

        public Execution​(String processName)
    • Method Detail

      • getProcessName

        public String getProcessName()
      • getStartTime

        public String getStartTime()
      • setCompleted

        public void setCompleted​(long completed)
      • getCompletionState

        public State getCompletionState()
      • getErrorType

        public String getErrorType()
      • getErrorMessage

        public String getErrorMessage()
      • getException

        public Exception getException()
      • setException

        public void setException​(Exception exception)
      • getCurrentState

        public State getCurrentState()
      • getCurrentContext

        public String getCurrentContext()
      • getCurrentPosition

        public Flow getCurrentPosition()
      • getCurrentPositionName

        public String getCurrentPositionName()
      • getDurationInMicros

        public long getDurationInMicros()
      • getDurationInMillis

        public long getDurationInMillis()
      • getDuration

        public long getDuration​(TimeUnit timeUnit)
      • completedNormally

        public boolean completedNormally()
      • getPath

        public String getPath()
        Returns a string representing the execution flow in the format .:, where 'context' is the name of the node containing the executed (sub)process, 'position' is the name of the flow exiting the executed node and 'iteration' is the direct or indirect (outer) iteration of the node execution
        Returns: