Enum LocationStatus
- java.lang.Object
-
- java.lang.Enum<LocationStatus>
-
- com.esri.arcgisruntime.tasks.networkanalysis.LocationStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<LocationStatus>
public enum LocationStatus extends Enum<LocationStatus>
Specifies the status of location of a Stop or a PointBarrier.- Since:
- 100.0.0
- See Also:
PointBarrier.getLocationStatus()
,Stop.getLocationStatus()
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NOT_LOCATED
A not located status.NOT_REACHED
The network location can't be arrived at by the solver.ON_CLOSEST
Located on closest network element.ON_CLOSEST_NOT_RESTRICTED
Located on closest network element which is not restricted.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LocationStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static LocationStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_LOCATED
public static final LocationStatus NOT_LOCATED
A not located status.- Since:
- 100.0.0
-
ON_CLOSEST
public static final LocationStatus ON_CLOSEST
Located on closest network element.- Since:
- 100.0.0
-
ON_CLOSEST_NOT_RESTRICTED
public static final LocationStatus ON_CLOSEST_NOT_RESTRICTED
Located on closest network element which is not restricted.- Since:
- 100.0.0
-
NOT_REACHED
public static final LocationStatus NOT_REACHED
The network location can't be arrived at by the solver.- Since:
- 100.0.0
-
-
Method Detail
-
values
public static LocationStatus[] 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 (LocationStatus c : LocationStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LocationStatus 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
-
-