Enum 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>
- Enclosing class:
- ActivityProgressInformationBuilder
public static enum ActivityProgressInformationBuilder.InformationSource extends Enum<ActivityProgressInformationBuilder.InformationSource>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL_STATE_ONLY
We look at full state only.FULL_STATE_PREFERRED
When looking for current progress, we take full state first (if it exists).TREE_OVERVIEW_ONLY
When constructing the progress information we look at tree overview only.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.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ActivityProgressInformationBuilder.InformationSource
valueOf(String name)
Returns the enum constant of this type with the specified name.static ActivityProgressInformationBuilder.InformationSource[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TREE_OVERVIEW_ONLY
public static final ActivityProgressInformationBuilder.InformationSource TREE_OVERVIEW_ONLY
When constructing the progress information we look at tree overview only. The full state is ignored.
-
TREE_OVERVIEW_PREFERRED
public static final ActivityProgressInformationBuilder.InformationSource 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
public static final ActivityProgressInformationBuilder.InformationSource 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
public static final ActivityProgressInformationBuilder.InformationSource 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 Detail
-
values
public static ActivityProgressInformationBuilder.InformationSource[] 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 (ActivityProgressInformationBuilder.InformationSource c : ActivityProgressInformationBuilder.InformationSource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ActivityProgressInformationBuilder.InformationSource 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
-
-