public enum OperationType extends Enum<OperationType>
Enum Constant and Description |
---|
CREATE_GROUP |
CREATE_ROLE |
CREATE_USER |
DELETE_GROUP |
DELETE_ROLE |
DELETE_USER |
UPDATE_GROUP |
UPDATE_GROUP_ATTRIBUTE |
UPDATE_ROLE |
UPDATE_ROLE_ATTRIBUTE |
UPDATE_USER |
UPDATE_USER_ATTRIBUTE |
Modifier and Type | Method and Description |
---|---|
OperationType |
fromName(String name) |
String |
getName() |
static OperationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationType CREATE_USER
public static final OperationType CREATE_GROUP
public static final OperationType CREATE_ROLE
public static final OperationType UPDATE_USER
public static final OperationType UPDATE_GROUP
public static final OperationType UPDATE_ROLE
public static final OperationType UPDATE_USER_ATTRIBUTE
public static final OperationType UPDATE_GROUP_ATTRIBUTE
public static final OperationType UPDATE_ROLE_ATTRIBUTE
public static final OperationType DELETE_USER
public static final OperationType DELETE_GROUP
public static final OperationType DELETE_ROLE
public static OperationType[] values()
for (OperationType c : OperationType.values()) System.out.println(c);
public static OperationType 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 getName()
public OperationType fromName(String name)
Copyright © 2021 Atlassian. All rights reserved.