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