|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.enough.polish.ant.ConditionalElement
de.enough.polish.ant.Setting
de.enough.polish.ExtensionSetting
public class ExtensionSetting
Extends the possibilities of the Setting by allowing the setting of a class name and a classpath.
Copyright Enough Software 2005
history
04-Apr-2005 - rob creation
| Field Summary | |
|---|---|
protected String |
className
|
protected org.apache.tools.ant.types.Path |
classPath
|
protected String |
name
|
protected String |
target
|
| Constructor Summary | |
|---|---|
ExtensionSetting()
Creates a new setting. |
|
| Method Summary | |
|---|---|
String |
getClassName()
|
org.apache.tools.ant.types.Path |
getClassPath()
|
String |
getName()
|
Variable |
getParameter(String parameterName,
Environment environment)
Retrieves the defined parameter. |
String |
getTarget()
|
void |
setClass(String className)
Sets the classname of the extension. |
void |
setClassPath(org.apache.tools.ant.types.Path classPath)
|
void |
setName(String name)
|
void |
setTarget(String target)
Sets the <antcall> target of this extension. |
| Methods inherited from class de.enough.polish.ant.Setting |
|---|
addConfiguredParameter, getAllParameters, getParameters, hasParameters |
| Methods inherited from class de.enough.polish.ant.ConditionalElement |
|---|
getCondition, getIf, getUnless, isActive, isActive, isActive, isActive, setIf, setUnless |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected String name
protected String className
protected org.apache.tools.ant.types.Path classPath
protected String target
| Constructor Detail |
|---|
public ExtensionSetting()
| Method Detail |
|---|
public void setClass(String className)
className - the class namepublic String getClassName()
public void setClassPath(org.apache.tools.ant.types.Path classPath)
public org.apache.tools.ant.types.Path getClassPath()
public String getName()
public void setName(String name)
public String getTarget()
public void setTarget(String target)
target - the Ant target that should be called
public Variable getParameter(String parameterName,
Environment environment)
parameterName - the name of the parameterenvironment - the environment, is used for finding out whether the parameter is active.
When the environment is null, the first match is returned.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||