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