@Test(groups = { "integration" }) public void testValidateSuc() { DB2Configuration testee = createTestConfiguration(); testee.validate(); }
@Override public void validate() { setConnType(null); new DB2ConfigurationValidator(this).validate(); }
DB2Configuration extends AbstractConfiguration implements Cloneable { @Override public void validate() { setConnType(null); new DB2ConfigurationValidator(this).validate(); } }
DB2Configuration extends AbstractConfiguration implements Cloneable { @Override public void validate() { setConnType(null); new DB2ConfigurationValidator(this).validate(); } DB2Configuration(); }
DB2Configuration extends AbstractConfiguration implements Cloneable { @Override public void validate() { setConnType(null); new DB2ConfigurationValidator(this).validate(); } DB2Configuration(); DB2Configuration clone(); @ConfigurationProperty(order = 0, displayMessageKey = DB2_ADMINACCOUNT_DISPLAY, helpMessageKey = DB2_ADMINACCOUNT_HELP) String getAdminAccount(); void setAdminAccount(String account); @ConfigurationProperty(order = 1, displayMessageKey = DB2_ADMINPASSWORD_DISPLAY, helpMessageKey = DB2_ADMINPASSWORD_HELP, confidential = true) GuardedString getAdminPassword(); void setAdminPassword(GuardedString adminPassword); @ConfigurationProperty(order = 2, displayMessageKey = DB2_JDBCSUBPROTOCOL_DISPLAY, helpMessageKey = DB2_JDBCSUBPROTOCOL_HELP) String getJdbcSubProtocol(); @ConfigurationProperty(order = 3, displayMessageKey = DB2_DATABASENAME_DISPLAY, helpMessageKey = DB2_DATABASENAME_HELP) String getDatabaseName(); void setJdbcSubProtocol(String subProtocol); void setDatabaseName(String databaseName); @ConfigurationProperty(order = 4, displayMessageKey = DB2_JDBCDRIVER_DISPLAY, helpMessageKey = DB2_JDBCDRIVER_HELP) String getJdbcDriver(); void setJdbcDriver(String jdbcDriver); @ConfigurationProperty(order = 5, displayMessageKey = DB2_HOST_DISPLAY, helpMessageKey = DB2_HOST_HELP) String getHost(); void setHost(String host); @ConfigurationProperty(order = 6, displayMessageKey = DB2_PORT_DISPLAY, helpMessageKey = DB2_PORT_HELP) String getPort(); void setPort(String port); @ConfigurationProperty(order = 7, displayMessageKey = DB2_URL_DISPLAY, helpMessageKey = DB2_URL_HELP) String getUrl(); void setUrl(String url); @ConfigurationProperty(order = 8, displayMessageKey = DB2_DATASOURCE_DISPLAY, helpMessageKey = DB2_DATASOURCE_HELP) String getDataSource(); void setDataSource(String dataSource); @ConfigurationProperty(order = 9, displayMessageKey = DB2_DSJNDIENV_DISPLAY, helpMessageKey = DB2_DSJNDIENV_HELP) String[] getDsJNDIEnv(); void setDsJNDIEnv(String[] dsJNDIEnv); @ConfigurationProperty(order = 10, displayMessageKey = DB2_REPLACEALLGRANTSONUPDATE_DISPLAY, helpMessageKey = DB2_REPLACEALLGRANTSONUPDATE_HELP) boolean isReplaceAllGrantsOnUpdate(); void setReplaceAllGrantsOnUpdate(boolean replaceAllGrantsOnUpdate); @Override void validate(); }
DB2Configuration extends AbstractConfiguration implements Cloneable { @Override public void validate() { setConnType(null); new DB2ConfigurationValidator(this).validate(); } DB2Configuration(); DB2Configuration clone(); @ConfigurationProperty(order = 0, displayMessageKey = DB2_ADMINACCOUNT_DISPLAY, helpMessageKey = DB2_ADMINACCOUNT_HELP) String getAdminAccount(); void setAdminAccount(String account); @ConfigurationProperty(order = 1, displayMessageKey = DB2_ADMINPASSWORD_DISPLAY, helpMessageKey = DB2_ADMINPASSWORD_HELP, confidential = true) GuardedString getAdminPassword(); void setAdminPassword(GuardedString adminPassword); @ConfigurationProperty(order = 2, displayMessageKey = DB2_JDBCSUBPROTOCOL_DISPLAY, helpMessageKey = DB2_JDBCSUBPROTOCOL_HELP) String getJdbcSubProtocol(); @ConfigurationProperty(order = 3, displayMessageKey = DB2_DATABASENAME_DISPLAY, helpMessageKey = DB2_DATABASENAME_HELP) String getDatabaseName(); void setJdbcSubProtocol(String subProtocol); void setDatabaseName(String databaseName); @ConfigurationProperty(order = 4, displayMessageKey = DB2_JDBCDRIVER_DISPLAY, helpMessageKey = DB2_JDBCDRIVER_HELP) String getJdbcDriver(); void setJdbcDriver(String jdbcDriver); @ConfigurationProperty(order = 5, displayMessageKey = DB2_HOST_DISPLAY, helpMessageKey = DB2_HOST_HELP) String getHost(); void setHost(String host); @ConfigurationProperty(order = 6, displayMessageKey = DB2_PORT_DISPLAY, helpMessageKey = DB2_PORT_HELP) String getPort(); void setPort(String port); @ConfigurationProperty(order = 7, displayMessageKey = DB2_URL_DISPLAY, helpMessageKey = DB2_URL_HELP) String getUrl(); void setUrl(String url); @ConfigurationProperty(order = 8, displayMessageKey = DB2_DATASOURCE_DISPLAY, helpMessageKey = DB2_DATASOURCE_HELP) String getDataSource(); void setDataSource(String dataSource); @ConfigurationProperty(order = 9, displayMessageKey = DB2_DSJNDIENV_DISPLAY, helpMessageKey = DB2_DSJNDIENV_HELP) String[] getDsJNDIEnv(); void setDsJNDIEnv(String[] dsJNDIEnv); @ConfigurationProperty(order = 10, displayMessageKey = DB2_REPLACEALLGRANTSONUPDATE_DISPLAY, helpMessageKey = DB2_REPLACEALLGRANTSONUPDATE_HELP) boolean isReplaceAllGrantsOnUpdate(); void setReplaceAllGrantsOnUpdate(boolean replaceAllGrantsOnUpdate); @Override void validate();  }