public static enum ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics extends java.lang.Enum<ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics> implements IMetric<java.util.Collection<Metrics.ExceptionData.Builder>>
Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Metrics.ExceptionData.Builder |
getExceptionInfo(java.lang.String trace) |
java.lang.Object |
getValue() |
java.util.Collection<Metrics.ExceptionData.Builder> |
getValueAndReset() |
static ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics INSTANCE
public static ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics[] values()
for (ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics c : ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics.values()) System.out.println(c);
public static ErrorReportLoggingHandler.ExceptionRepositoryAsMetrics 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.util.Collection<Metrics.ExceptionData.Builder> getValueAndReset()
getValueAndReset
in interface IMetric<java.util.Collection<Metrics.ExceptionData.Builder>>
public java.lang.Object getValue()
public Metrics.ExceptionData.Builder getExceptionInfo(java.lang.String trace)