Enum Class TestResourceOpNames
- All Implemented Interfaces:
Serializable
,Comparable<TestResourceOpNames>
,Constable
Enumeration of standardized test connection operation names as they are presented in the
OperationResult
returned by `testResource` and related methods.- Author:
- lazyman, Radovan Semancik
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionCheck whether connector capabilities can be retrieved.Check whether a connection to the resource can be established.Check whether the configuration is valid e.g. well-formed XML, valid with regard to schema, etc.Check whether the connector can be instantiated, e.g. connector classes can be loaded.Envelope operation for all connector-level tests.Currently not used.Check whether the connector can be used to fetch some mandatory objects (e.g. fetch a "root" user).Check whether the connector can fetch and process resource schema.The root of the operation result tree. -
Method Summary
Modifier and TypeMethodDescriptionstatic TestResourceOpNames
Returns the enum constant of this class with the specified name.static TestResourceOpNames[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RESOURCE_TEST
The root of the operation result tree. -
CONNECTOR_TEST
Envelope operation for all connector-level tests. -
CONNECTOR_INSTANTIATION
Check whether the connector can be instantiated, e.g. connector classes can be loaded. -
CONNECTOR_INITIALIZATION
Check whether the configuration is valid e.g. well-formed XML, valid with regard to schema, etc. -
CONNECTOR_CONNECTION
Check whether a connection to the resource can be established. -
CONNECTOR_CAPABILITIES
Check whether connector capabilities can be retrieved. -
RESOURCE_SCHEMA
Check whether the connector can fetch and process resource schema. -
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
Currently not used.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getOperation
-