public enum ApproveState extends Enum<ApproveState>
Enum Constant and Description |
---|
APPROVED |
ARCHIVED |
COMMIT |
REJECTED |
REVIEW |
REVISION |
VOTE_DOWN |
VOTE_UP |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getId() |
boolean |
isCommit() |
static ApproveState |
parse(String value) |
static ApproveState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApproveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApproveState REVIEW
public static final ApproveState REVISION
public static final ApproveState APPROVED
public static final ApproveState COMMIT
public static final ApproveState REJECTED
public static final ApproveState ARCHIVED
public static final ApproveState VOTE_UP
public static final ApproveState VOTE_DOWN
public static ApproveState[] values()
for (ApproveState c : ApproveState.values()) System.out.println(c);
public static ApproveState 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 getId()
public String getDescription()
public boolean isCommit()
public static ApproveState parse(String value)
Copyright © 2016–2019. All rights reserved.