Enum Capability
- java.lang.Object
-
- java.lang.Enum<Capability>
-
- com.evolveum.midpoint.web.component.wizard.resource.dto.Capability
-
- All Implemented Interfaces:
Serializable
,Comparable<Capability>
public enum Capability extends Enum<Capability>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTIVATION
ADD_REMOVE_ATTRIBUTE_VALUES
AUXILIARY_OBJECT_CLASSES
CREATE
CREDENTIALS
DELETE
LIVE_SYNC
READ
SCRIPT
TEST_CONNECTION
UPDATE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends CapabilityType>
getClazz()
String
getDisplayName()
static @Nullable String
getDisplayNameForClass(Class<? extends CapabilityType> clazz)
String
getResourceKey()
static @Nullable String
getResourceKeyForClass(Class<? extends CapabilityType> clazz)
CapabilityType
newInstance()
static boolean
supports(Class<? extends CapabilityType> clazz)
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.
-
-
-
Enum Constant Detail
-
ACTIVATION
public static final Capability ACTIVATION
-
CREDENTIALS
public static final Capability CREDENTIALS
-
TEST_CONNECTION
public static final Capability TEST_CONNECTION
-
READ
public static final Capability READ
-
CREATE
public static final Capability CREATE
-
UPDATE
public static final Capability UPDATE
-
DELETE
public static final Capability DELETE
-
LIVE_SYNC
public static final Capability LIVE_SYNC
-
SCRIPT
public static final Capability SCRIPT
-
AUXILIARY_OBJECT_CLASSES
public static final Capability AUXILIARY_OBJECT_CLASSES
-
ADD_REMOVE_ATTRIBUTE_VALUES
public static final Capability ADD_REMOVE_ATTRIBUTE_VALUES
-
-
Method Detail
-
values
public static Capability[] 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 (Capability c : Capability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Capability 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 nameNullPointerException
- if the argument is null
-
getClazz
public Class<? extends CapabilityType> getClazz()
-
getDisplayName
public String getDisplayName()
-
getResourceKey
public String getResourceKey()
-
getDisplayNameForClass
@Nullable public static @Nullable String getDisplayNameForClass(Class<? extends CapabilityType> clazz)
-
getResourceKeyForClass
@Nullable public static @Nullable String getResourceKeyForClass(Class<? extends CapabilityType> clazz)
-
supports
public static boolean supports(Class<? extends CapabilityType> clazz)
-
newInstance
public CapabilityType newInstance()
-
-