|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.task.Parameter
public class Parameter
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.
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name. |
java.lang.String |
getValue()
Returns the value. |
boolean |
isForPlatform(java.lang.String platformName)
Determines whether this parameter is applicable for the indicated platform. |
void |
setName(java.lang.String name)
Specifies the name of the parameter. |
void |
setPlatforms(java.lang.String platforms)
Specifies the platforms - a comma-separated list of platform names - for which this parameter shall be used (see the databaseType attribute of the tasks for possible values). |
void |
setValue(java.lang.String value)
Specifies the parameter value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Parameter()
Method Detail |
---|
public java.lang.String getName()
public void setName(java.lang.String name)
name
- The namepublic java.lang.String getValue()
public void setValue(java.lang.String value)
value
- The valuepublic void setPlatforms(java.lang.String platforms)
databaseType
attribute of the tasks for possible values).
For every platform not in this list, the parameter is ignored.
platforms
- The platformspublic boolean isForPlatform(java.lang.String platformName)
platformName
- The platform name
true
if this parameter is defined for the platform
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |