* <CODE>false</CODE> if not.
*/
public boolean testJobParameters( ParameterList parameters, ArrayList outputMessages )
{
// Get all the parameters that we might need to perform the test.
StringParameter hostParam = parameters.getStringParameter( hostParameter.getName() );
if ( ( hostParam == null ) || ( !hostParam.hasValue() ) )
{
outputMessages.add( "ERROR: No directory server address was provided." );
return false;
}
String host = hostParam.getStringValue();
IntegerParameter portParam = parameters.getIntegerParameter( portParameter.getName() );
if ( ( portParam == null ) || ( !hostParam.hasValue() ) )
{
outputMessages.add( "ERROR: No directory server port was provided." );
return false;
}
int port = portParam.getIntValue();
String bindDN = "";
StringParameter bindDNParam = parameters.getStringParameter( bindDNParameter.getName() );
if ( ( bindDNParam != null ) && bindDNParam.hasValue() )
{
bindDN = bindDNParam.getStringValue();
}
String bindPassword = "";
PasswordParameter bindPWParam = parameters.getPasswordParameter( bindPWParameter.getName() );
if ( ( bindPWParam != null ) && bindPWParam.hasValue() )