Enum Class RestServicesConstants

java.lang.Object
java.lang.Enum<RestServicesConstants>
io.mosip.authentication.core.constant.RestServicesConstants
All Implemented Interfaces:
Serializable, Comparable<RestServicesConstants>, Constable

public enum RestServicesConstants extends Enum<RestServicesConstants>
The Enum RestServiceContants - contains service names based on which RestRequestFactory will build rest requests from properties.
Author:
Manoj SP, Nagarjuna K
  • Enum Constant Details

  • Method Details

    • values

      public static RestServicesConstants[] 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 RestServicesConstants 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
    • getServiceName

      public String getServiceName()
      Gets the service name.
      Returns:
      the service name