public enum StandardRole extends Enum<StandardRole>
Enum Constant and Description |
---|
ADMINISTRATOR |
AUDITOR |
DEPLOYER |
MAINTAINER |
MONITOR |
OPERATOR |
SUPERUSER |
Modifier and Type | Method and Description |
---|---|
String |
getFormalName() |
String |
getOfficialForm() |
boolean |
isActionEffectAllowed(Action.ActionEffect actionEffect) |
static StandardRole |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StandardRole[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StandardRole MONITOR
public static final StandardRole OPERATOR
public static final StandardRole MAINTAINER
public static final StandardRole DEPLOYER
public static final StandardRole ADMINISTRATOR
public static final StandardRole AUDITOR
public static final StandardRole SUPERUSER
public static StandardRole[] values()
for (StandardRole c : StandardRole.values()) System.out.println(c);
public static StandardRole 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 boolean isActionEffectAllowed(Action.ActionEffect actionEffect)
public String getFormalName()
public String getOfficialForm()
Copyright © 2023 JBoss by Red Hat. All rights reserved.