com.ibm.itim.apps.provisioning

Enum ServiceStatus

  • java.lang.Object
    • java.lang.Enum<ServiceStatus>
      • com.ibm.itim.apps.provisioning.ServiceStatus
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ServiceStatus>


    public enum ServiceStatus
    extends java.lang.Enum<ServiceStatus>
    An enumeration of values representing the status of the service. Instances of this enumeration summarize the server's ability to connect to and make request to the service. Note that some services, such as feeds and ITIM services are always considered to be ALIVE, since they do not follow the remote provisioning flows.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      ALIVE
      The service is alive.
      ATTEMPTING_RECOVERY
      The system is attempting to recover the service and re-queue any pending provisioning requests from the failure.
      FAILED
      The service has failed.
      LOCKED_RECON_IN_PROGRESS
      The service is executing a reconciliation which is configured to lock the service during execution.
      UNKNOWN
      The service status is not known.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static ServiceStatus valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ServiceStatus[] 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, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • UNKNOWN

        public static final ServiceStatus UNKNOWN
        The service status is not known. For example, a test or provisioning request has not yet been made to the service.
      • ALIVE

        public static final ServiceStatus ALIVE
        The service is alive. The last attempt to contact the service were successful.
      • FAILED

        public static final ServiceStatus FAILED
        The service has failed. The last attempt to contact the service failed due to a communication or configuration problem. During this time, provisioning requests to the service may be queued for later execution. The service must go through the periodic or manual recovery process in order to complete those requests and start accepting new requests.
      • ATTEMPTING_RECOVERY

        public static final ServiceStatus ATTEMPTING_RECOVERY
        The system is attempting to recover the service and re-queue any pending provisioning requests from the failure.
      • LOCKED_RECON_IN_PROGRESS

        public static final ServiceStatus LOCKED_RECON_IN_PROGRESS
        The service is executing a reconciliation which is configured to lock the service during execution. During this period, any provisioning requests may be queued for execution once the reconciliation completes.
    • Method Detail

      • values

        public static ServiceStatus[] 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 (ServiceStatus c : ServiceStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServiceStatus valueOf(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null