|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<InjectableTag>
com.netflix.servo.tag.InjectableTag
public enum InjectableTag
Group of Tags who's values will be dynamically set at runtime based on local calls.
| Enum Constant Summary | |
|---|---|
HOSTNAME
|
|
IP
|
|
| Method Summary | |
|---|---|
java.lang.String |
getKey()
Returns the key corresponding to this tag. |
java.lang.String |
getValue()
Returns the value corresponding to this tag. |
java.lang.String |
tagString()
Returns the string representation of this tag. |
static InjectableTag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static InjectableTag[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final InjectableTag HOSTNAME
public static final InjectableTag IP
| Method Detail |
|---|
public static InjectableTag[] values()
for (InjectableTag c : InjectableTag.values()) System.out.println(c);
public static InjectableTag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getKey()
Tag
getKey in interface Tagpublic java.lang.String getValue()
Tag
getValue in interface Tagpublic java.lang.String tagString()
Tag
tagString in interface Tag
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||