Enum TestResourceOpNames
- java.lang.Object
-
- java.lang.Enum<TestResourceOpNames>
-
- com.evolveum.midpoint.schema.constants.TestResourceOpNames
-
- All Implemented Interfaces:
Serializable
,Comparable<TestResourceOpNames>
public enum TestResourceOpNames extends Enum<TestResourceOpNames>
Enumeration of standardized test connection operation names as they are presented in theOperationResult
returned by `testResource` and related methods.- Author:
- lazyman, Radovan Semancik
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTOR_CAPABILITIES
Check whether connector capabilities can be retrieved.CONNECTOR_CONNECTION
Check whether a connection to the resource can be established.CONNECTOR_INITIALIZATION
Check whether the configuration is valid e.g.CONNECTOR_INSTANTIATION
Check whether the connector can be instantiated, e.g.CONNECTOR_TEST
Envelope operation for all connector-level tests.EXTRA_TEST
Currently not used.RESOURCE_SANITY
Check whether the connector can be used to fetch some mandatory objects (e.g.RESOURCE_SCHEMA
Check whether the connector can fetch and process resource schema.RESOURCE_TEST
The root of the operation result tree.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOperation()
static TestResourceOpNames
valueOf(String name)
Returns the enum constant of this type with the specified name.static TestResourceOpNames[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_TEST
public static final TestResourceOpNames RESOURCE_TEST
The root of the operation result tree.
-
CONNECTOR_TEST
public static final TestResourceOpNames CONNECTOR_TEST
Envelope operation for all connector-level tests.
-
CONNECTOR_INSTANTIATION
public static final TestResourceOpNames CONNECTOR_INSTANTIATION
Check whether the connector can be instantiated, e.g. connector classes can be loaded.
-
CONNECTOR_INITIALIZATION
public static final TestResourceOpNames CONNECTOR_INITIALIZATION
Check whether the configuration is valid e.g. well-formed XML, valid with regard to schema, etc.
-
CONNECTOR_CONNECTION
public static final TestResourceOpNames CONNECTOR_CONNECTION
Check whether a connection to the resource can be established.
-
CONNECTOR_CAPABILITIES
public static final TestResourceOpNames CONNECTOR_CAPABILITIES
Check whether connector capabilities can be retrieved.
-
RESOURCE_SCHEMA
public static final TestResourceOpNames RESOURCE_SCHEMA
Check whether the connector can fetch and process resource schema.
-
RESOURCE_SANITY
public static final TestResourceOpNames RESOURCE_SANITY
Check whether the connector can be used to fetch some mandatory objects (e.g. fetch a "root" user). Currently not used.
-
EXTRA_TEST
public static final TestResourceOpNames EXTRA_TEST
Currently not used.
-
-
Method Detail
-
values
public static TestResourceOpNames[] 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 (TestResourceOpNames c : TestResourceOpNames.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TestResourceOpNames 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
-
getOperation
public String getOperation()
-
-