|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ddlutils.task.Parameter
A parameter which consists of a name-value pair and an optional list of platforms for which the parameter is applicable.
Constructor Summary | |
Parameter()
|
Method Summary | |
String |
getName()
Returns the name. |
String |
getValue()
Returns the value. |
boolean |
isForPlatform(String platformName)
Determines whether this parameter is applicable for the indicated platform. |
void |
setName(String name)
Sets the name. |
void |
setPlatforms(String platforms)
Sets the platforms - a comma-separated list of platform names - for which this parameter shall be used. |
void |
setValue(String value)
Sets the 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 String getName()
public void setName(String name)
name
- The namepublic String getValue()
public void setValue(String value)
value
- The valuepublic void setPlatforms(String platforms)
platforms
- The platformspublic boolean isForPlatform(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 |