public enum ResultAttribute extends Enum<ResultAttribute>
Result| Enum Constant and Description |
|---|
ATTRIBUTE_NAME |
CLASS_NAME |
OBJ_DOMAIN |
TYPE_NAME |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Map<String,String> attributeMap,
Result result)
Calls the Getter defined by the
ResultAttribute on the
Result add adds the entry to the supplied Map |
static ResultAttribute |
fromAttribute(String attributeName)
Get the
ResultAttribute value from the attribute name |
static ResultAttribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResultAttribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultAttribute TYPE_NAME
public static final ResultAttribute OBJ_DOMAIN
public static final ResultAttribute CLASS_NAME
public static final ResultAttribute ATTRIBUTE_NAME
public static ResultAttribute[] values()
for (ResultAttribute c : ResultAttribute.values()) System.out.println(c);
public static ResultAttribute 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 static ResultAttribute fromAttribute(@Nonnull String attributeName)
ResultAttribute value from the attribute nameattributeName - The attribute name for the ResultAttribute allowed values are:
ResultAttributeCopyright © 2010-2016 JmxTrans team. All Rights Reserved.