Class DatabaseCommandWithCreationParameters
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.Command
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.DatabaseCommand
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.DatabaseCommandWithCreationParameters
- Direct Known Subclasses:
WriteSchemaSqlToFileCommand
,WriteSchemaToDatabaseCommand
Base type for database commands that use creation parameters.
- Version:
- $Revision: 289996 $
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a parameter which is a name-value pair.protected CreationParameters
getFilteredParameters
(Database model, String platformName, boolean isCaseSensitive) Filters the parameters for the given model and platform.Methods inherited from class edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.DatabaseCommand
getCatalogPattern, getDatabaseType, getDataSource, getPlatform, getSchemaPattern, isRequiringModel, setPlatformConfiguration
Methods inherited from class edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.Command
execute, handleException, isFailOnError, setFailOnError
-
Constructor Details
-
DatabaseCommandWithCreationParameters
public DatabaseCommandWithCreationParameters()
-
-
Method Details
-
addConfiguredParameter
Adds a parameter which is a name-value pair.- Parameters:
param
- The parameter
-
getFilteredParameters
protected CreationParameters getFilteredParameters(Database model, String platformName, boolean isCaseSensitive) Filters the parameters for the given model and platform.- Parameters:
model
- The database modelplatformName
- The name of the platformisCaseSensitive
- Whether case is relevant when comparing names of tables- Returns:
- The filtered parameters
-