Skip navigation links

Interface TestOp

All Superinterfaces:

public interface TestOp
extends SPIOperation

Tests the connector Configuration.

Unlike validation, testing a configuration checks that any pieces of environment referred by the configuration are available. For example, the connector could make a physical connection to a host specified in the configuration to check that it exists and that the credentials specified in the configuration are usable.

This operation may be invoked before the configuration has been validated. An implementation is free to validate the configuration before testing it.

Method Summary
 void test()
          Tests the Configuration with the connector.


Method Detail


void test()
Tests the Configuration with the connector.
java.lang.RuntimeException - iff the configuration is not valid or the test failed. Implementations are encouraged to throw the most specific exception available. When no specific exception is available, implementations can throw ConnectorException.

Skip navigation links

Copyright © 2013, Oracle and/or its affiliates. All rights reserved.