Enum SimulationMetricAggregationFunctionType
- java.lang.Object
-
- java.lang.Enum<SimulationMetricAggregationFunctionType>
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.SimulationMetricAggregationFunctionType
-
- All Implemented Interfaces:
Serializable
,Comparable<SimulationMetricAggregationFunctionType>
public enum SimulationMetricAggregationFunctionType extends Enum<SimulationMetricAggregationFunctionType>
An aggregation function used to compute the (aggregated) metric value.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DOMAIN_MAX_VALUE
The value is determined as maximum metric value in the domain.DOMAIN_MIN_VALUE
The value is determined as minimal metric value in the domain.DOMAIN_SIZE
The value is determined as "domainSize".DOMAIN_TOTAL_VALUE
The value is determined as "domainTotalValue".DOMAIN_TOTAL_VALUE_TO_DOMAIN_SIZE
The value is determined as "domainTotalValue / domainSize".NONE
The metric should not be aggregated.SELECTION_MAX_VALUE
The value is determined as maximum metric value in the selection.SELECTION_MIN_VALUE
The value is determined as minimal metric value in the selection.SELECTION_SIZE
The value is determined as "selectionSize".SELECTION_SIZE_TO_DOMAIN_SIZE
The value is determined as "selectionSize / domainSize".SELECTION_TOTAL_VALUE
The value is determined as "selectionTotalValue".SELECTION_TOTAL_VALUE_TO_DOMAIN_SIZE
The value is determined as "selectionTotalValue / domainSize".SELECTION_TOTAL_VALUE_TO_DOMAIN_TOTAL_VALUE
The value is determined as "selectionTotalValue / domainTotalValue".
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SimulationMetricAggregationFunctionType
fromValue(String v)
String
value()
static SimulationMetricAggregationFunctionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SimulationMetricAggregationFunctionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final SimulationMetricAggregationFunctionType NONE
The metric should not be aggregated.
-
SELECTION_SIZE
public static final SimulationMetricAggregationFunctionType SELECTION_SIZE
The value is determined as "selectionSize".
-
SELECTION_TOTAL_VALUE
public static final SimulationMetricAggregationFunctionType SELECTION_TOTAL_VALUE
The value is determined as "selectionTotalValue".
-
DOMAIN_SIZE
public static final SimulationMetricAggregationFunctionType DOMAIN_SIZE
The value is determined as "domainSize".
-
DOMAIN_TOTAL_VALUE
public static final SimulationMetricAggregationFunctionType DOMAIN_TOTAL_VALUE
The value is determined as "domainTotalValue".
-
DOMAIN_TOTAL_VALUE_TO_DOMAIN_SIZE
public static final SimulationMetricAggregationFunctionType DOMAIN_TOTAL_VALUE_TO_DOMAIN_SIZE
The value is determined as "domainTotalValue / domainSize".
-
SELECTION_TOTAL_VALUE_TO_DOMAIN_SIZE
public static final SimulationMetricAggregationFunctionType SELECTION_TOTAL_VALUE_TO_DOMAIN_SIZE
The value is determined as "selectionTotalValue / domainSize".
-
SELECTION_SIZE_TO_DOMAIN_SIZE
public static final SimulationMetricAggregationFunctionType SELECTION_SIZE_TO_DOMAIN_SIZE
The value is determined as "selectionSize / domainSize".
-
SELECTION_TOTAL_VALUE_TO_DOMAIN_TOTAL_VALUE
public static final SimulationMetricAggregationFunctionType SELECTION_TOTAL_VALUE_TO_DOMAIN_TOTAL_VALUE
The value is determined as "selectionTotalValue / domainTotalValue".
-
DOMAIN_MIN_VALUE
public static final SimulationMetricAggregationFunctionType DOMAIN_MIN_VALUE
The value is determined as minimal metric value in the domain.
-
SELECTION_MIN_VALUE
public static final SimulationMetricAggregationFunctionType SELECTION_MIN_VALUE
The value is determined as minimal metric value in the selection.
-
DOMAIN_MAX_VALUE
public static final SimulationMetricAggregationFunctionType DOMAIN_MAX_VALUE
The value is determined as maximum metric value in the domain.
-
SELECTION_MAX_VALUE
public static final SimulationMetricAggregationFunctionType SELECTION_MAX_VALUE
The value is determined as maximum metric value in the selection.
-
-
Method Detail
-
values
public static SimulationMetricAggregationFunctionType[] 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 (SimulationMetricAggregationFunctionType c : SimulationMetricAggregationFunctionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SimulationMetricAggregationFunctionType 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 SimulationMetricAggregationFunctionType fromValue(String v)
-
-