Enum UtilityTraceResult.Type
- java.lang.Object
-
- java.lang.Enum<UtilityTraceResult.Type>
-
- com.esri.arcgisruntime.utilitynetworks.UtilityTraceResult.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<UtilityTraceResult.Type>
- Enclosing class:
- UtilityTraceResult
public static enum UtilityTraceResult.Type extends java.lang.Enum<UtilityTraceResult.Type>
An enumeration of the result types returned by a trace operation. The default isELEMENTS
.- Since:
- 100.6.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ELEMENTS
The result is a collection of utility elements.FUNCTION_OUTPUTS
The result is an array ofUtilityTraceFunctionOutput
objects.GEOMETRY
A trace result consisting of three distinctGeometry
types: aPolygon
, aPolyline
, and aMultipoint
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UtilityTraceResult.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static UtilityTraceResult.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ELEMENTS
public static final UtilityTraceResult.Type ELEMENTS
The result is a collection of utility elements.- Since:
- 100.6.0
-
FUNCTION_OUTPUTS
public static final UtilityTraceResult.Type FUNCTION_OUTPUTS
The result is an array ofUtilityTraceFunctionOutput
objects.- Since:
- 100.9.0
-
GEOMETRY
public static final UtilityTraceResult.Type GEOMETRY
A trace result consisting of three distinctGeometry
types: aPolygon
, aPolyline
, and aMultipoint
.- Since:
- 100.9.0
-
-
Method Detail
-
values
public static UtilityTraceResult.Type[] 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 (UtilityTraceResult.Type c : UtilityTraceResult.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UtilityTraceResult.Type valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-