public class TstConnectorConfig extends AbstractConfiguration
Constructor and Description |
---|
TstConnectorConfig() |
Modifier and Type | Method and 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.
|
getConnectorMessages, setConnectorMessages
public boolean getResetConnectionCount()
public void setResetConnectionCount(boolean count)
public String getTstField()
public void setTstField(String value)
public String getTst1Field()
public void setTst1Field(String value)
public int getNumResults()
public void setNumResults(int numResults)
public boolean getFailValidation()
public void setFailValidation(boolean fail)
public void validate()
Configuration
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.
validate
in interface Configuration
validate
in class AbstractConfiguration
Copyright © 2019. All rights reserved.