Enum Class ActivityItemCountingOptionType
java.lang.Object
java.lang.Enum<ActivityItemCountingOptionType>
com.evolveum.midpoint.xml.ns._public.common.common_3.ActivityItemCountingOptionType
- All Implemented Interfaces:
TypeSafeEnum
,Serializable
,Comparable<ActivityItemCountingOptionType>
,Constable
public enum ActivityItemCountingOptionType
extends Enum<ActivityItemCountingOptionType>
implements TypeSafeEnum
When are expected items in a bucket counted in an activity?
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe activity will always execute the items counting.The activity does not count the items.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).The activity counts the items only if the item source resides in repository and the activity is not bucketed.The activity counts the items only if it is not bucketed (i.e. -
Method Summary
Modifier and TypeMethodDescriptionvalue()
Returns enum value defined as in schema.Returns the enum constant of this class with the specified name.static ActivityItemCountingOptionType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS
The activity will always execute the items counting. -
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
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. -
NEVER
The activity does not count the items.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
Description copied from interface:TypeSafeEnum
Returns enum value defined as in schema.- Specified by:
value
in interfaceTypeSafeEnum
- Returns:
-
fromValue
-