Enum ActivityOverallItemCountingOptionType
- java.lang.Object
-
- java.lang.Enum<ActivityOverallItemCountingOptionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityOverallItemCountingOptionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityOverallItemCountingOptionType>
public enum ActivityOverallItemCountingOptionType extends Enum<ActivityOverallItemCountingOptionType>
Java class for ActivityOverallItemCountingOptionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ActivityOverallItemCountingOptionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="always"/> <enumeration value="whenInRepository"/> <enumeration value="never"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALWAYS
The activity will always execute the items counting.NEVER
The activity does not count the items.WHEN_IN_REPOSITORY
The activity counts the items only if the item source resides in repository (the idea is that repository searches are faster than resource object searches).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityOverallItemCountingOptionType
fromValue(String v)
String
value()
static ActivityOverallItemCountingOptionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityOverallItemCountingOptionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final ActivityOverallItemCountingOptionType ALWAYS
The activity will always execute the items counting.
-
WHEN_IN_REPOSITORY
public static final ActivityOverallItemCountingOptionType WHEN_IN_REPOSITORY
The activity counts the items only if the item source resides in repository (the idea is that repository searches are faster than resource object searches).
-
NEVER
public static final ActivityOverallItemCountingOptionType NEVER
The activity does not count the items.
-
-
Method Detail
-
values
public static ActivityOverallItemCountingOptionType[] 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 (ActivityOverallItemCountingOptionType c : ActivityOverallItemCountingOptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityOverallItemCountingOptionType 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
-
value
public String value()
-
fromValue
public static ActivityOverallItemCountingOptionType fromValue(String v)
-
-