Enum Class ServiceCreateResult.State

java.lang.Object
java.lang.Enum<ServiceCreateResult.State>
eu.cloudnetservice.driver.service.ServiceCreateResult.State
All Implemented Interfaces:
Serializable, Comparable<ServiceCreateResult.State>, Constable
Enclosing class:
ServiceCreateResult

public static enum ServiceCreateResult.State extends Enum<ServiceCreateResult.State>
Represents the state of a service creation.
Since:
4.0
  • Enum Constant Details

    • CREATED

      public static final ServiceCreateResult.State CREATED
      The service was created successfully and is fully available for further actions.
    • DEFERRED

      public static final ServiceCreateResult.State DEFERRED
      the service creation was deferred and retries to create the service will be made based on the supplied retry configuration. Updates of the creation will be sent to all subscribed channel message targets using the present creation id as an identifier for the service create.
    • FAILED

      public static final ServiceCreateResult.State FAILED
      The service couldn't be created. Either no retry configuration was present and there was no successful creation possible, or the maximum retry count was reached without a successful creation.
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static ServiceCreateResult.State[] 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 ServiceCreateResult.State 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