public enum Capability extends Enum<Capability>
| Modifier and Type | Method and Description |
|---|---|
int |
priority() |
String |
toId() |
static Capability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Capability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Capability VIEW
public static final Capability MANAGE
public static final Capability OWN
public static Capability[] values()
for (Capability c : Capability.values()) System.out.println(c);
public static Capability 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 int priority()
public String toId()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.