Enum EHandled

java.lang.Object
java.lang.Enum<EHandled>
com.helger.commons.state.EHandled
All Implemented Interfaces:
IHandledIndicator, Serializable, Comparable<EHandled>, java.lang.constant.Constable

public enum EHandled extends Enum<EHandled> implements IHandledIndicator
Small enum to identify whether something was handled or not.
Since:
9.0.0
Author:
Philip Helger
  • Enum Constant Details

    • HANDLED

      public static final EHandled HANDLED
    • UNHANDLED

      public static final EHandled UNHANDLED
  • Method Details

    • values

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

      public static EHandled valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • isHandled

      public boolean isHandled()
      Specified by:
      isHandled in interface IHandledIndicator
      Returns:
      true if handled and false if not.
    • valueOf

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

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