Class Parameter
java.lang.Object
edu.internet2.middleware.grouper.ext.org.apache.ddlutils.task.Parameter
- Direct Known Subclasses:
TableSpecificParameter
Specifies a parameter for the creation of the database. These are usually platform specific.
A parameter consists of a name-value pair and an optional list of platforms for which the
parameter shall be used.
- Version:
- $Revision: 231306 $
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name.getValue()
Returns the value.boolean
isForPlatform
(String platformName) Determines whether this parameter is applicable for the indicated platform.void
Specifies the name of the parameter.void
setPlatforms
(String platforms) Specifies the platforms - a comma-separated list of platform names - for which this parameter shall be used (see thedatabaseType
attribute of the tasks for possible values).void
Specifies the parameter value.
-
Constructor Details
-
Parameter
public Parameter()
-
-
Method Details
-
getName
Returns the name.- Returns:
- The name
-
setName
Specifies the name of the parameter. See the database support documentation for details on the parameters supported by the individual platforms.- Parameters:
name
- The name
-
getValue
Returns the value.- Returns:
- The value
-
setValue
Specifies the parameter value.- Parameters:
value
- The value
-
setPlatforms
Specifies the platforms - a comma-separated list of platform names - for which this parameter shall be used (see thedatabaseType
attribute of the tasks for possible values). For every platform not in this list, the parameter is ignored.- Parameters:
platforms
- The platforms
-
isForPlatform
Determines whether this parameter is applicable for the indicated platform.- Parameters:
platformName
- The platform name- Returns:
true
if this parameter is defined for the platform
-