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