|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.module.api.AntTargetExecutor.Env
public static final class AntTargetExecutor.Env
Class describing the environment in which the Ant target will be executed. The class can be used for customization of properties avaialble during the execution, verbosity of Ant target execution and output stream definition.
Constructor Summary | |
---|---|
AntTargetExecutor.Env()
Create instance of Env class describing environment for Ant target execution. |
Method Summary | |
---|---|
OutputStream |
getLogger()
Get output stream. |
Properties |
getProperties()
Get current Ant script execution properties. |
int |
getVerbosity()
Get verbosity of Ant script execution. |
void |
setLogger(OutputStream outputStream)
Deprecated. Usage of a custom output stream is not recommended, and prevents some Ant module features from working correctly. |
void |
setProperties(Properties p)
Set properties of Ant script execution. |
void |
setVerbosity(int v)
Set verbosity of Ant script execution. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntTargetExecutor.Env()
Method Detail |
---|
public void setVerbosity(int v)
v
- the new verbosity (e.g. AntEvent.LOG_VERBOSE
)public int getVerbosity()
AntEvent.LOG_VERBOSE
)public void setProperties(Properties p)
p
- a set of name/value pairs passed to Ant (will be cloned)public Properties getProperties()
@Deprecated public void setLogger(OutputStream outputStream)
outputStream
- a stream to send output to, or null
to resetAntOutputStream
public OutputStream getLogger()
null
|
org.apache.tools.ant.module/3 3.27.0 2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |