|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.endeca.portal.data.config.DataSourceConfigValidator
public class DataSourceConfigValidator
A class of static methods used to verify whether or not various items in a data source definition are valid.
Constructor Summary | |
---|---|
DataSourceConfigValidator()
|
Method Summary | |
---|---|
static boolean |
validDatabaseName(java.lang.String databaseName)
Returns true if the provided name is a valid database name. |
static boolean |
validDataSourceId(java.lang.String id)
Returns true if the provided id is a valid datasource id. |
static boolean |
validPort(java.lang.String port)
Returns true if the provided port is a valid port number. |
static boolean |
validPropertyName(java.lang.String name)
Returns true if the provided name is a valid property name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataSourceConfigValidator()
Method Detail |
---|
public static boolean validDataSourceId(java.lang.String id)
id
- The datasource id to be checked
public static boolean validDatabaseName(java.lang.String databaseName)
databaseName
- The database name to be checked
public static boolean validPropertyName(java.lang.String name)
name
- The database name to be checked
public static boolean validPort(java.lang.String port)
port
- String representation of the port number
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |