Enum Class CalculationStatus

Object
Enum<CalculationStatus>
CalculationStatus
All Implemented Interfaces:
Serializable, Comparable<CalculationStatus>, Constable

public enum CalculationStatus extends Enum<CalculationStatus>
  • Enum Constant Details

    • DRAFT

      public static final CalculationStatus DRAFT
      draft state, nothing happening
    • PENDING

      public static final CalculationStatus PENDING
      Waiting for the next background worker to pick it up for processing.
    • SCHEDULED

      public static final CalculationStatus SCHEDULED
      Scheduled for the execution e.g., computation is wrapped in the task and is handed to the system for the future execution in background process.
    • PROCESSING

      public static final CalculationStatus PROCESSING
      The system is processing the computation.
    • SCHEDULED_DIRTY

      public static final CalculationStatus SCHEDULED_DIRTY
      Scheduled for a 2nd pass to calculate dirty items.
    • ERROR

      public static final CalculationStatus ERROR
      Error during computation.
    • READY

      public static final CalculationStatus READY
      Computed.
    • CANCELLED

      public static final CalculationStatus CANCELLED
  • Method Details

    • values

      public static CalculationStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CalculationStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • canStart

      public boolean canStart()
    • canCancel

      public boolean canCancel()
    • canCancel

      public static boolean canCancel(String enumValue)