|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.fikin.ant.types.IfUnless net.sf.fikin.ant.types.Parameter
public class Parameter
An extended version of Ant's Parameter type with ability to set
if="property"
and unless="property"
created on Dec 28, 2006
Field Summary | |
---|---|
protected java.lang.String |
name
|
protected java.lang.String |
type
|
protected java.lang.String |
value
|
Constructor Summary | |
---|---|
Parameter()
|
Method Summary | |
---|---|
void |
check(org.apache.tools.ant.Task task)
test that name has been set |
java.lang.String |
getName()
get the name |
java.lang.String |
getType()
type of the parameter |
java.lang.String |
getValue()
value of the parameter |
void |
setName(java.lang.String name)
name of the parameter |
void |
setType(java.lang.String type)
type of the parameter |
void |
setValue(java.lang.String value)
value of the parameter |
Methods inherited from class net.sf.fikin.ant.types.IfUnless |
---|
setIf, setUnless, shouldUse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String name
protected java.lang.String type
protected java.lang.String value
Constructor Detail |
---|
public Parameter()
Method Detail |
---|
public final void setName(java.lang.String name)
name
- of the parameterpublic final void setType(java.lang.String type)
type
- of the parameterpublic final void setValue(java.lang.String value)
value
- of the parameterpublic final java.lang.String getName()
public final java.lang.String getType()
public final java.lang.String getValue()
public void check(org.apache.tools.ant.Task task) throws org.apache.tools.ant.BuildException
task
- is enclosing ant task
org.apache.tools.ant.BuildException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |