Package net.webpdf.wsclient.openapi
Enum WebserviceStatus
- java.lang.Object
-
- java.lang.Enum<WebserviceStatus>
-
- net.webpdf.wsclient.openapi.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.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDERRORNOTLICENSEDOKUNKNOWN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WebserviceStatusfromValue(String value)StringgetValue()StringtoString()StringtoUrlQueryString(String prefix)Convert the instance into URL query string.static WebserviceStatusvalueOf(String name)Returns the enum constant of this type with the specified name.static WebserviceStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final WebserviceStatus UNKNOWN
-
OK
public static final WebserviceStatus OK
-
DISABLED
public static final WebserviceStatus DISABLED
-
ERROR
public static final WebserviceStatus ERROR
-
NOTLICENSED
public static final WebserviceStatus NOTLICENSED
-
-
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 nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<WebserviceStatus>
-
fromValue
public static WebserviceStatus fromValue(String value)
-
-