public enum ApiStateEnum extends java.lang.Enum<ApiStateEnum>
| Enum Constant and Description |
|---|
OFFLINE
offline.
|
PUBLISHED
published.
|
UNPUBLISHED
unpublished.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getState()
get the state.
|
static ApiStateEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApiStateEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiStateEnum UNPUBLISHED
public static final ApiStateEnum PUBLISHED
public static final ApiStateEnum OFFLINE
public static ApiStateEnum[] values()
for (ApiStateEnum c : ApiStateEnum.values()) System.out.println(c);
public static ApiStateEnum 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 int getState()
Copyright © 2024 The Apache Software Foundation. All rights reserved.