public static enum ScraperTargetRequest.TypeEnum extends Enum<ScraperTargetRequest.TypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
ScraperTargetRequest.TypeEnum.Adapter |
| Enum Constant and Description |
|---|
PROMETHEUS |
| Modifier and Type | Method and Description |
|---|---|
static ScraperTargetRequest.TypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ScraperTargetRequest.TypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScraperTargetRequest.TypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScraperTargetRequest.TypeEnum PROMETHEUS
public static ScraperTargetRequest.TypeEnum[] values()
for (ScraperTargetRequest.TypeEnum c : ScraperTargetRequest.TypeEnum.values()) System.out.println(c);
public static ScraperTargetRequest.TypeEnum 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 String getValue()
public String toString()
toString in class Enum<ScraperTargetRequest.TypeEnum>public static ScraperTargetRequest.TypeEnum fromValue(String text)
Copyright © 2018–2021 InfluxData, Inc.. All rights reserved.