org.jcoderz.commons.taskdefs
Class LogMessageGenerator

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jcoderz.commons.taskdefs.XsltBasedTask
              extended by org.jcoderz.commons.taskdefs.LogMessageGenerator
All Implemented Interfaces:
Cloneable

public final class LogMessageGenerator
extends XsltBasedTask

Ant task that generates classes out of the log message info XML document.

Documentation of this Ant task can be found in org.jcoderz.commons.taskdefs.

Author:
Michael Griffel

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
LogMessageGenerator()
           
 
Method Summary
 void setAllowUseOfBaseLogger(boolean allow)
          Sets whether the log messages get a .log() method that uses the logger of the LoggableImpl to log the messages to?
 void setApplication(String s)
          Sets the application (short) name.
 void setCustomLoggerClass(String className)
          Sets the custom logger class to generate log messages for.
 
Methods inherited from class org.jcoderz.commons.taskdefs.XsltBasedTask
execute, getFawkezVersionAsString, resolveExternalEntities, setDestdir, setFailonerror, setForce, setIn, setLogLevel, setOut, setXsl
 
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
 

Constructor Detail

LogMessageGenerator

public LogMessageGenerator()
Method Detail

setCustomLoggerClass

public void setCustomLoggerClass(String className)
Sets the custom logger class to generate log messages for. A possible valid value is 'java.util.logging.Logger'.

Parameters:
className - the name of the custom logger

setAllowUseOfBaseLogger

public void setAllowUseOfBaseLogger(boolean allow)
Sets whether the log messages get a .log() method that uses the logger of the LoggableImpl to log the messages to?

Parameters:
allow - the flag value to be set.

setApplication

public void setApplication(String s)
Sets the application (short) name. This parameter is required.

Parameters:
s - The application (short) name.


Copyright 2007 The jCoderZ Project.