Enum Class ActivityProgressInformationBuilder.InformationSource
java.lang.Object
java.lang.Enum<ActivityProgressInformationBuilder.InformationSource>
com.evolveum.midpoint.schema.util.task.ActivityProgressInformationBuilder.InformationSource
- All Implemented Interfaces:
Serializable
,Comparable<ActivityProgressInformationBuilder.InformationSource>
,Constable
- Enclosing class:
- ActivityProgressInformationBuilder
public static enum ActivityProgressInformationBuilder.InformationSource
extends Enum<ActivityProgressInformationBuilder.InformationSource>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionWe look at full state only.When looking for current progress, we take full state first (if it exists).When constructing the progress information we look at tree overview only.When looking for current progress, we take tree overview first (if the progress is present there), and only then we look at the full state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TREE_OVERVIEW_ONLY
When constructing the progress information we look at tree overview only. The full state is ignored. -
TREE_OVERVIEW_PREFERRED
When looking for current progress, we take tree overview first (if the progress is present there), and only then we look at the full state. -
FULL_STATE_PREFERRED
When looking for current progress, we take full state first (if it exists). Only then we look at the tree overview. -
FULL_STATE_ONLY
We look at full state only. For worker tasks this assumes that subtasks are loaded. (Otherwise they couldn't be found.)
-
-
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
-