Package com.wavefront.data
Enum ReportableEntityType
- java.lang.Object
-
- java.lang.Enum<ReportableEntityType>
-
- com.wavefront.data.ReportableEntityType
-
- All Implemented Interfaces:
Serializable,Comparable<ReportableEntityType>
public enum ReportableEntityType extends Enum<ReportableEntityType>
Type of objects that Wavefront proxy can send to the server endpoint(s).- Author:
- vasily@wavefront.com
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DELTA_COUNTEREVENTHISTOGRAMPOINTSOURCE_TAGTRACETRACE_SPAN_LOGS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReportableEntityTypefromString(String name)StringgetRateUnit()StringtoCapitalizedString()StringtoString()static ReportableEntityTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ReportableEntityType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
POINT
public static final ReportableEntityType POINT
-
DELTA_COUNTER
public static final ReportableEntityType DELTA_COUNTER
-
HISTOGRAM
public static final ReportableEntityType HISTOGRAM
-
SOURCE_TAG
public static final ReportableEntityType SOURCE_TAG
-
TRACE
public static final ReportableEntityType TRACE
-
TRACE_SPAN_LOGS
public static final ReportableEntityType TRACE_SPAN_LOGS
-
EVENT
public static final ReportableEntityType EVENT
-
-
Method Detail
-
values
public static ReportableEntityType[] 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 (ReportableEntityType c : ReportableEntityType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReportableEntityType 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
-
toString
public String toString()
- Overrides:
toStringin classEnum<ReportableEntityType>
-
getRateUnit
public String getRateUnit()
-
toCapitalizedString
public String toCapitalizedString()
-
fromString
public static ReportableEntityType fromString(String name)
-
-