net.sf.logdistiller.ant
Class LogDistillerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.sf.logdistiller.ant.LogDistillerTask

public class LogDistillerTask
extends org.apache.tools.ant.Task

Ant task to configure and launch a log distillation.

 <logdistiller conf="<i>[xml configuration file]</i>" publish="<i>[all|file,mail,...]</i>" compressed="<i>[no|gzip|zip]</i>">
  [<<a href="AntProperty.html">property</a> .../>]*
  <fileset ...>
 lt;/logdistiller>
 


Nested Class Summary
static class LogDistillerTask.Compressed
           
 
Field Summary
 
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
LogDistillerTask()
           
 
Method Summary
 void addConfiguredProperty(AntProperty property)
           
 void addFileSet(org.apache.tools.ant.types.FileSet fs)
           
 AntLogDistillation createLogdistillation()
          Deprecated. since LogDistiller 0.7, replaced by output element in rules configuration
 AntLogEvent createLogevent()
          Deprecated. since LogDistiller 0.7, replaced by logtype element in rules configuration
 void execute()
           
 void setCompressed(LogDistillerTask.Compressed attr)
           
 void setConf(File conf)
           
 void setMail(boolean mail)
           
 void setPublish(String publish)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
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
 

Constructor Detail

LogDistillerTask

public LogDistillerTask()
Method Detail

setConf

public void setConf(File conf)

setMail

public void setMail(boolean mail)

setPublish

public void setPublish(String publish)

addConfiguredProperty

public void addConfiguredProperty(AntProperty property)

setCompressed

public void setCompressed(LogDistillerTask.Compressed attr)

createLogevent

public AntLogEvent createLogevent()
Deprecated. since LogDistiller 0.7, replaced by logtype element in rules configuration


createLogdistillation

public AntLogDistillation createLogdistillation()
Deprecated. since LogDistiller 0.7, replaced by output element in rules configuration


addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fs)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException


Copyright © 2004-2009. All Rights Reserved.