Enum LocalServerStatus
- java.lang.Object
-
- java.lang.Enum<LocalServerStatus>
-
- com.esri.arcgisruntime.localserver.LocalServerStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<LocalServerStatus>
public enum LocalServerStatus extends Enum<LocalServerStatus>
Local server and service states.- Since:
- 100.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocalServerStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static LocalServerStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STOPPED
public static final LocalServerStatus STOPPED
Server or service has stopped- Since:
- 100.0.0
-
STARTING
public static final LocalServerStatus STARTING
Server or service is starting- Since:
- 100.0.0
-
STARTED
public static final LocalServerStatus STARTED
Server or service has started- Since:
- 100.0.0
-
STOPPING
public static final LocalServerStatus STOPPING
Server or service is stopping- Since:
- 100.0.0
-
FAILED
public static final LocalServerStatus FAILED
Server or service has a failure- Since:
- 100.0.0
-
-
Method Detail
-
values
public static LocalServerStatus[] 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 (LocalServerStatus c : LocalServerStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocalServerStatus 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
-
-