Enum Class CriticalityType

java.lang.Object
java.lang.Enum<CriticalityType>
com.bonitasoft.processbuilder.enums.CriticalityType
All Implemented Interfaces:
Serializable, Comparable<CriticalityType>, Constable

public enum CriticalityType extends Enum<CriticalityType>
Defines the valid criticality levels for a business process, along with their business descriptions. This enumeration is typically used as the source for the 'Criticality' master data.
Since:
1.0
Author:
Bonitasoft
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Indicates severe business impact, requiring immediate attention and maximum uptime assurance.
    Indicates minimal business impact, usually involving non-urgent or supportive functions.
    Indicates significant business impact, requiring standard attention and prompt resolution.
    Indicates a purely informational or non-critical process with no business impact on failure.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Map<String,String>
    Retrieves all process instance states as a read-only Map where the key is the technical key and the value is the description.
    static List<String>
    Retrieves all technical keys as a read-only List of Strings.
    Returns the business description of this criticality type.
    Returns the unique string key associated with this criticality type.
    static boolean
    isValid(String input)
    Checks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • HIGH

      public static final CriticalityType HIGH
      Indicates severe business impact, requiring immediate attention and maximum uptime assurance.
    • MODERATE

      public static final CriticalityType MODERATE
      Indicates significant business impact, requiring standard attention and prompt resolution.
    • LOW

      public static final CriticalityType LOW
      Indicates minimal business impact, usually involving non-urgent or supportive functions.
    • NONE

      public static final CriticalityType NONE
      Indicates a purely informational or non-critical process with no business impact on failure.
  • Method Details

    • values

      public static CriticalityType[] 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 CriticalityType 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
    • getKey

      public String getKey()
      Returns the unique string key associated with this criticality type.
      Returns:
      The criticality key (e.g., "High").
    • getDescription

      public String getDescription()
      Returns the business description of this criticality type.
      Returns:
      The description.
    • isValid

      public static boolean isValid(String input)
      Checks if a given string corresponds to a valid enum constant, ignoring case and leading/trailing spaces.
      Parameters:
      input - The string to validate.
      Returns:
      true if the string is a valid enum constant, false otherwise.
    • getAllData

      public static Map<String,String> getAllData()
      Retrieves all process instance states as a read-only Map where the key is the technical key and the value is the description.
      Returns:
      A map containing all process state data (Key -> Description).
    • getAllKeysList

      public static List<String> getAllKeysList()
      Retrieves all technical keys as a read-only List of Strings.
      Returns:
      A list containing all technical keys.