com.evolveum.midpoint.schema.constants
Enum ConnectorTestOperation

java.lang.Object
  extended by java.lang.Enum<ConnectorTestOperation>
      extended by com.evolveum.midpoint.schema.constants.ConnectorTestOperation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ConnectorTestOperation>

public enum ConnectorTestOperation
extends java.lang.Enum<ConnectorTestOperation>

Enumeration of standardized test connection opration codes as they are presented in the OperationResult.

Author:
lazyman, Radovan Semancik

Enum Constant Summary
CONFIGURATION_VALIDATION
          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_SANITY
          Check whether the connector can be used to fetch some mandatory objects (e.g.
CONNECTOR_SCHEMA
          Check whether the connector can fetch and process resource schema.
EXTRA_TEST
           
TEST_CONNECTION
           
 
Method Summary
 java.lang.String getOperation()
           
static ConnectorTestOperation valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

TEST_CONNECTION

public static final ConnectorTestOperation TEST_CONNECTION

CONFIGURATION_VALIDATION

public static final ConnectorTestOperation CONFIGURATION_VALIDATION
Check whether the configuration is valid e.g. well-formed XML, valid with regard to schema, etc.


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_CONNECTION

public static final ConnectorTestOperation CONNECTOR_CONNECTION
Check whether a connection to the resource can be established.


CONNECTOR_SCHEMA

public static final ConnectorTestOperation CONNECTOR_SCHEMA
Check whether the connector can fetch and process resource schema.


CONNECTOR_SANITY

public static final ConnectorTestOperation CONNECTOR_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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getOperation

public java.lang.String getOperation()


Copyright © 2012 evolveum. All Rights Reserved.