Enum BeanState

java.lang.Object
java.lang.Enum<BeanState>
org.jboss.as.pojo.BeanState
All Implemented Interfaces:
Serializable, Comparable<BeanState>

public enum BeanState extends Enum<BeanState>
A MC bean state.
Author:
David M. Lloyd, Ales Justin
  • Enum Constant Details

    • NOT_INSTALLED

      public static final BeanState NOT_INSTALLED
    • DESCRIBED

      public static final BeanState DESCRIBED
    • INSTANTIATED

      public static final BeanState INSTANTIATED
    • CONFIGURED

      public static final BeanState CONFIGURED
    • CREATE

      public static final BeanState CREATE
    • START

      public static final BeanState START
    • INSTALLED

      public static final BeanState INSTALLED
  • Method Details

    • values

      public static BeanState[] 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 BeanState 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
    • next

      public BeanState next()
      Get the next state.
      Returns:
      the next state
    • isBefore

      public boolean isBefore(BeanState state)
      Is this instance before state @param.
      Parameters:
      state - the state to check
      Returns:
      true if before, false otherwise
    • isAfter

      public boolean isAfter(BeanState state)
      Is this instance after state @param.
      Parameters:
      state - the state to check
      Returns:
      true if after, false otherwise