|
|||||||||||
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.enableit.db.ant.Log4jConfigTask
Configure Log4J from a property file.
Field Summary | |
protected static org.apache.log4j.Logger |
logger
The Log4J Logger doing the logging. |
protected java.lang.String |
propertyFile
The name of the Log4J Property file. |
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
Log4jConfigTask()
Default Constructor |
Method Summary | |
void |
execute()
The Ant-defined execute method must be implemented by subclasses. |
void |
setPropertyFile(java.lang.String propertyFile)
Sets the name of the Property file to configure with. |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static org.apache.log4j.Logger logger
Logger
doing the logging.
protected java.lang.String propertyFile
Constructor Detail |
public Log4jConfigTask()
Method Detail |
public void setPropertyFile(java.lang.String propertyFile)
public void execute() throws org.apache.tools.ant.BuildException
execute
method must be implemented by subclasses.
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |