Class ProgressInstance

    • Constructor Detail

      • ProgressInstance

        public ProgressInstance()
    • Method Detail

      • completedSteps

        public ProgressInstance completedSteps​(BigDecimal completedSteps)
        completedSteps.
        Returns:
        ProgressInstance
      • getCompletedSteps

        public BigDecimal getCompletedSteps()
        The number of completed steps for this workflow instance.
        Returns:
        completedSteps
      • setCompletedSteps

        public void setCompletedSteps​(BigDecimal completedSteps)
        setCompletedSteps.
      • currentCompletedStepName

        public ProgressInstance currentCompletedStepName​(String currentCompletedStepName)
        currentCompletedStepName.
        Returns:
        ProgressInstance
      • getCurrentCompletedStepName

        public String getCurrentCompletedStepName()
        The last completed step name.
        Returns:
        currentCompletedStepName
      • setCurrentCompletedStepName

        public void setCurrentCompletedStepName​(String currentCompletedStepName)
        setCurrentCompletedStepName.
      • getTotalSteps

        public BigDecimal getTotalSteps()
        The total number of steps for this workflow instance.
        Returns:
        totalSteps
      • setTotalSteps

        public void setTotalSteps​(BigDecimal totalSteps)
        setTotalSteps.
      • equals

        public boolean equals​(Object o)
        Compares objects.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object