public enum WorkflowStatus extends Enum<WorkflowStatus>
Enum Constant and Description |
---|
approval
The page is currently under review.
|
done
The page is done and needs no further work.
|
draft
The page is currently worked on and it can be submitted for
approval . |
Modifier and Type | Method and Description |
---|---|
static WorkflowStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WorkflowStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WorkflowStatus draft
approval
.public static final WorkflowStatus approval
public static final WorkflowStatus done
draft
.public static WorkflowStatus[] values()
for (WorkflowStatus c : WorkflowStatus.values()) System.out.println(c);
public static WorkflowStatus 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 © 2019 K15t GmbH. All rights reserved.