Enum WebserviceStatus

  • All Implemented Interfaces:
    Serializable, Comparable<WebserviceStatus>

    public enum WebserviceStatus
    extends Enum<WebserviceStatus>
    Defines the state in which a web service can be. - UNKNOWN = The webservice state could not be determined. - OK = The webservice is running and responsive. - DISABLED = The webservice is disabled and may not be used. - ERROR = The webservice initialization has failed, the webservice could not be started. - NOT_LICENSED = The webservice is unavailable, as it is not part of your server license.
    • Method Detail

      • values

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

        public static WebserviceStatus 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
      • getValue

        public String getValue()
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string