public static enum ContentController.ContentState extends Enum<ContentController.ContentState>
Enum Constant and Description |
---|
CONTENTSTATE_ENCRYPTED |
CONTENTSTATE_NORMAL |
CONTENTSTATE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
int |
getCode() |
String |
getName() |
boolean |
isEncrypted() |
static ContentController.ContentState |
lookup(int code) |
static ContentController.ContentState |
lookup(String name) |
static ContentController.ContentState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentController.ContentState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentController.ContentState CONTENTSTATE_UNKNOWN
public static final ContentController.ContentState CONTENTSTATE_NORMAL
public static final ContentController.ContentState CONTENTSTATE_ENCRYPTED
public static ContentController.ContentState[] values()
for (ContentController.ContentState c : ContentController.ContentState.values()) System.out.println(c);
public static ContentController.ContentState 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 final int getCode()
public final String getName()
public final boolean isEncrypted()
public static final ContentController.ContentState lookup(int code)
public static final ContentController.ContentState lookup(String name)
Copyright © 2023. All rights reserved.