Enum ActivityItemCountingOptionType
- java.lang.Object
-
- java.lang.Enum<ActivityItemCountingOptionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityItemCountingOptionType
-
- All Implemented Interfaces:
Serializable
,Comparable<ActivityItemCountingOptionType>
public enum ActivityItemCountingOptionType extends Enum<ActivityItemCountingOptionType>
Java class for ActivityItemCountingOptionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ActivityItemCountingOptionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="always"/> <enumeration value="whenNotBucketed"/> <enumeration value="whenInRepository"/> <enumeration value="whenInRepositoryAndNotBucketed"/> <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).WHEN_IN_REPOSITORY_AND_NOT_BUCKETED
The activity counts the items only if the item source resides in repository and the activity is not bucketed.WHEN_NOT_BUCKETED
The activity counts the items only if it is not bucketed (i.e.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ActivityItemCountingOptionType
fromValue(String v)
String
value()
static ActivityItemCountingOptionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityItemCountingOptionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALWAYS
public static final ActivityItemCountingOptionType ALWAYS
The activity will always execute the items counting.
-
WHEN_NOT_BUCKETED
public static final ActivityItemCountingOptionType WHEN_NOT_BUCKETED
The activity counts the items only if it is not bucketed (i.e. does not support bucketing at all, or has a single "default" bucket only). The idea is that in this case the items count really matters in order to estimate the relative task progress.
-
WHEN_IN_REPOSITORY
public static final ActivityItemCountingOptionType 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).
-
WHEN_IN_REPOSITORY_AND_NOT_BUCKETED
public static final ActivityItemCountingOptionType WHEN_IN_REPOSITORY_AND_NOT_BUCKETED
The activity counts the items only if the item source resides in repository and the activity is not bucketed.
-
NEVER
public static final ActivityItemCountingOptionType NEVER
The activity does not count the items.
-
-
Method Detail
-
values
public static ActivityItemCountingOptionType[] 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 (ActivityItemCountingOptionType c : ActivityItemCountingOptionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityItemCountingOptionType 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 ActivityItemCountingOptionType fromValue(String v)
-
-