Class TstConnectorConfig
java.lang.Object
org.identityconnectors.framework.spi.AbstractConfiguration
org.identityconnectors.testconnector.TstConnectorConfig
- All Implemented Interfaces:
Configuration
- Direct Known Subclasses:
TstStatefulConnectorConfig
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
int
boolean
void
setFailValidation
(boolean fail) void
setNumResults
(int numResults) void
setResetConnectionCount
(boolean count) void
setTst1Field
(String value) void
setTstField
(String value) void
validate()
Determines if the configuration is valid.Methods inherited from class org.identityconnectors.framework.spi.AbstractConfiguration
getConnectorMessages, setConnectorMessages
-
Constructor Details
-
TstConnectorConfig
public TstConnectorConfig()
-
-
Method Details
-
getResetConnectionCount
public boolean getResetConnectionCount() -
setResetConnectionCount
public void setResetConnectionCount(boolean count) -
getTstField
-
setTstField
-
getTst1Field
-
setTst1Field
-
getNumResults
public int getNumResults() -
setNumResults
public void setNumResults(int numResults) -
getFailValidation
public boolean getFailValidation() -
setFailValidation
public void setFailValidation(boolean fail) -
validate
public void validate()Description copied from interface:Configuration
Determines if the configuration is valid.A valid configuration is one that is ready to be used by the connector: it is complete (all the required properties have been given values) and the property values are well-formed (are in the expected range, have the expected format, etc.)
Implementations of this method should not connect to the resource in an attempt to validate the configuration. For example, implementations should not attempt to check that a host of the specified name exists by making a connection to it. Such checks can be performed in the implementation of the
TestOp.test()
method.- Specified by:
validate
in interfaceConfiguration
- Specified by:
validate
in classAbstractConfiguration
-