public enum DrsRecommendationReasonCode extends Enum<DrsRecommendationReasonCode>
Java class for DrsRecommendationReasonCode.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="DrsRecommendationReasonCode">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="fairnessCpuAvg"/>
<enumeration value="fairnessMemAvg"/>
<enumeration value="jointAffin"/>
<enumeration value="antiAffin"/>
<enumeration value="hostMaint"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ANTI_AFFIN |
FAIRNESS_CPU_AVG |
FAIRNESS_MEM_AVG |
HOST_MAINT |
JOINT_AFFIN |
| Modifier and Type | Method and Description |
|---|---|
static DrsRecommendationReasonCode |
fromValue(String v) |
String |
value() |
static DrsRecommendationReasonCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DrsRecommendationReasonCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DrsRecommendationReasonCode FAIRNESS_CPU_AVG
public static final DrsRecommendationReasonCode FAIRNESS_MEM_AVG
public static final DrsRecommendationReasonCode JOINT_AFFIN
public static final DrsRecommendationReasonCode ANTI_AFFIN
public static final DrsRecommendationReasonCode HOST_MAINT
public static DrsRecommendationReasonCode[] values()
for (DrsRecommendationReasonCode c : DrsRecommendationReasonCode.values()) System.out.println(c);
public static DrsRecommendationReasonCode 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 nullpublic String value()
public static DrsRecommendationReasonCode fromValue(String v)
Copyright © 2018. All rights reserved.