com.atlassian.crowd.embedded.api
Enum OperationType
java.lang.Object
java.lang.Enum<OperationType>
com.atlassian.crowd.embedded.api.OperationType
- All Implemented Interfaces:
- Serializable, Comparable<OperationType>
public enum OperationType
- extends Enum<OperationType>
Represents the type of operations allowed to be performed on a directory.
CREATE_USER
public static final OperationType CREATE_USER
CREATE_GROUP
public static final OperationType CREATE_GROUP
CREATE_ROLE
public static final OperationType CREATE_ROLE
UPDATE_USER
public static final OperationType UPDATE_USER
UPDATE_GROUP
public static final OperationType UPDATE_GROUP
UPDATE_ROLE
public static final OperationType UPDATE_ROLE
UPDATE_USER_ATTRIBUTE
public static final OperationType UPDATE_USER_ATTRIBUTE
UPDATE_GROUP_ATTRIBUTE
public static final OperationType UPDATE_GROUP_ATTRIBUTE
UPDATE_ROLE_ATTRIBUTE
public static final OperationType UPDATE_ROLE_ATTRIBUTE
DELETE_USER
public static final OperationType DELETE_USER
DELETE_GROUP
public static final OperationType DELETE_GROUP
DELETE_ROLE
public static final OperationType DELETE_ROLE
values
public static OperationType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (OperationType c : OperationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static OperationType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
getName
public String getName()
fromName
public OperationType fromName(String name)
Copyright © 2013 Atlassian. All Rights Reserved.