ca.spaz.cron.config
Class DatasourceValidator

java.lang.Object
  extended by ca.spaz.cron.config.DatasourceValidator
All Implemented Interfaces:
PropertyValidator

public final class DatasourceValidator
extends java.lang.Object
implements PropertyValidator


Method Summary
 boolean equals(java.lang.Object o)
           
static DatasourceValidator getInstance()
           
 boolean isValid(java.lang.String key, java.lang.String value)
          Validate the specified value for the key.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValid

public boolean isValid(java.lang.String key,
                       java.lang.String value)
Description copied from interface: PropertyValidator
Validate the specified value for the key.

Specified by:
isValid in interface PropertyValidator
Parameters:
key - The property key to test.
value - The property value to test.
Returns:
true if the value is a valid one for the specified key, false otherwise.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class java.lang.Object

getInstance

public static final DatasourceValidator getInstance()


Copyright © 2005 Spaz. All Rights Reserved.