org.apache.tools.ant.module.api
public static final class AntTargetExecutor.Env extends Object
Constructor and Description |
---|
AntTargetExecutor.Env()
Create instance of Env class describing environment for Ant target execution.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public AntTargetExecutor.Env()
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
Built on March 18 2014. | Portions Copyright 1997-2014 Sun Microsystems, Inc. All rights reserved.