Enum ExporterType
- java.lang.Object
-
- java.lang.Enum<ExporterType>
-
- io.quarkus.opentelemetry.runtime.config.build.ExporterType
-
- All Implemented Interfaces:
Serializable,Comparable<ExporterType>
public enum ExporterType extends Enum<ExporterType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classExporterType.Constants
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static ExporterTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ExporterType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OTLP
public static final ExporterType OTLP
-
CDI
public static final ExporterType CDI
To be used by legacy CDI beans setup. Will be removed soon.
-
NONE
public static final ExporterType NONE
-
-
Method Detail
-
values
public static ExporterType[] 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 (ExporterType c : ExporterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExporterType 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
-
getValue
public String getValue()
-
-