Class TstConnectorConfig
- java.lang.Object
-
- org.identityconnectors.framework.spi.AbstractConfiguration
-
- org.identityconnectors.testconnector.TstConnectorConfig
-
- All Implemented Interfaces:
Configuration
- Direct Known Subclasses:
TstStatefulConnectorConfig
public class TstConnectorConfig extends AbstractConfiguration
-
-
Constructor Summary
Constructors Constructor Description TstConnectorConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getFailValidation()
int
getNumResults()
boolean
getResetConnectionCount()
String
getTst1Field()
String
getTstField()
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
-
-
-
-
Method Detail
-
getResetConnectionCount
public boolean getResetConnectionCount()
-
setResetConnectionCount
public void setResetConnectionCount(boolean count)
-
getTstField
public String getTstField()
-
setTstField
public void setTstField(String value)
-
getTst1Field
public String getTst1Field()
-
setTst1Field
public void setTst1Field(String value)
-
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
-
-