org.wildfly.swarm.config.elytron

## Enum State

- java.lang.Object
- - java.lang.Enum<State>
  - - org.wildfly.swarm.config.elytron.State

- All Implemented Interfaces:
    Serializable, Comparable<State>

      public enum State
      extends Enum<State>

- - ### Enum Constant Summary

    Enum Constants
    Enum Constant and Description
    `DOWN`
    `REMOVED`
    `START_FAILED`
    `STARTING`
    `STOPPING`
    `UP`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getAllowedValue()` Returns the allowed value for the management model.
    `String` | `toString()`
    `static State` | `valueOf(String name)` Returns the enum constant of this type with the specified name.
    `static State[]` | `values()` Returns an array containing the constants of this enum type, in the order they are declared.

    - ### Methods inherited from class java.lang.Enum

      `compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf`

    - ### Methods inherited from class java.lang.Object

      `getClass, notify, notifyAll, wait, wait, wait`

- - ### Enum Constant Detail

    - #### DOWN

          public static final State DOWN

    - #### STARTING

          public static final State STARTING

    - #### START_FAILED

          public static final State START_FAILED

    - #### UP

          public static final State UP

    - #### STOPPING

          public static final State STOPPING

    - #### REMOVED

          public static final State REMOVED

  - ### Method Detail

    - #### values

          public static State[] 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 (State c : State.values())
              System.out.println(c);

      Returns:
        an array containing the constants of this enum type, in the order they are declared

    - #### valueOf

          public static State 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

    - #### getAllowedValue

          public String getAllowedValue()

      Returns the allowed value for the management model.
      Returns:
        the allowed model value

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Enum<State>`

Copyright © 2017 JBoss by Red Hat. All rights reserved.