public static enum Comment.BIT_MASKS extends Enum<Comment.BIT_MASKS> implements BIT_MASKS
Enum Constant and Description |
---|
COMMENT_APPROVED
Comment is approved to show
|
NONE
Comment is in default state; no special bit masks apply.
|
THREAD_APROVED
If false (off), then the comment may appear based on
COMMENT_APPROVED but any sub comments may not |
Modifier and Type | Method and Description |
---|---|
String |
getDesc() |
Integer |
getValue() |
static Comment.BIT_MASKS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comment.BIT_MASKS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comment.BIT_MASKS NONE
public static final Comment.BIT_MASKS COMMENT_APPROVED
public static final Comment.BIT_MASKS THREAD_APROVED
COMMENT_APPROVED
but any sub comments may notpublic static Comment.BIT_MASKS[] values()
for (Comment.BIT_MASKS c : Comment.BIT_MASKS.values()) System.out.println(c);
public static Comment.BIT_MASKS 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 nullCopyright © 2018. All rights reserved.