Enum FenceRuleType
- java.lang.Object
-
- java.lang.Enum<FenceRuleType>
-
- com.esri.arcgisruntime.geotriggers.FenceRuleType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FenceRuleType>
public enum FenceRuleType extends java.lang.Enum<FenceRuleType>
The rule or query that determines whether aFenceGeotrigger
condition is met.- Since:
- 100.12.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTER
Check whether objects from theGeotriggerFeed
enter theFenceParameters
.ENTER_OR_EXIT
Check whether objects from theGeotriggerFeed
enter or exit theFenceParameters
.EXIT
Check whether objects from theGeotriggerFeed
exit theFenceParameters
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FenceRuleType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FenceRuleType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENTER
public static final FenceRuleType ENTER
Check whether objects from theGeotriggerFeed
enter theFenceParameters
.- Since:
- 100.12.0
-
EXIT
public static final FenceRuleType EXIT
Check whether objects from theGeotriggerFeed
exit theFenceParameters
.- Since:
- 100.12.0
-
ENTER_OR_EXIT
public static final FenceRuleType ENTER_OR_EXIT
Check whether objects from theGeotriggerFeed
enter or exit theFenceParameters
.- Since:
- 100.12.0
-
-
Method Detail
-
values
public static FenceRuleType[] 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 (FenceRuleType c : FenceRuleType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FenceRuleType 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
-
-