Enum BeanState

    • Enum Constant Detail

      • 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
      • INSTALLED

        public static final BeanState INSTALLED
    • Method Detail

      • values

        public static BeanState[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (BeanState c : BeanState.values())
            System.out.println(c);
        
        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