|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.apache.tools.ant.taskdefs.AugmentReference
public class AugmentReference
Ant task to dynamically augment a previously declared reference.
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
AugmentReference()
|
Method Summary | |
---|---|
void |
checkProxyClass(java.lang.Class<?> proxyClass)
Check if the proxy class is compatible with this adapter - i.e. |
void |
execute()
Overridden to restore the wrapper once it is no longer needed. |
java.lang.Object |
getProxy()
Returns the proxy object. |
void |
setProxy(java.lang.Object o)
Sets the proxy object, whose methods are going to be invoked by ant. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.tools.ant.TypeAdapter |
---|
getProject, setProject |
Constructor Detail |
---|
public AugmentReference()
Method Detail |
---|
public void checkProxyClass(java.lang.Class<?> proxyClass)
checkProxyClass
in interface TypeAdapter
proxyClass
- the class to be checked.public java.lang.Object getProxy()
getProxy
in interface TypeAdapter
public void setProxy(java.lang.Object o)
setProxy
in interface TypeAdapter
o
- The target object. Must not be null
.public void execute()
execute
in class Task
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |