public static enum Resource.ResourceAggregateType extends Enum<Resource.ResourceAggregateType>
Enum Constant and Description |
---|
AGGREGATE_TYPE_MAX
Denotes keeping the max of the values with same name when merging two resource specs for operator chaining.
|
AGGREGATE_TYPE_SUM
Denotes keeping the sum of the values with same name when merging two resource specs for operator chaining.
|
Modifier and Type | Method and Description |
---|---|
static Resource.ResourceAggregateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Resource.ResourceAggregateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Resource.ResourceAggregateType AGGREGATE_TYPE_SUM
public static final Resource.ResourceAggregateType AGGREGATE_TYPE_MAX
public static Resource.ResourceAggregateType[] values()
for (Resource.ResourceAggregateType c : Resource.ResourceAggregateType.values()) System.out.println(c);
public static Resource.ResourceAggregateType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.