Package ise.antelope.tasks
Class ReadLog
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ise.antelope.tasks.ReadLog
- All Implemented Interfaces:
Cloneable
public class ReadLog
extends org.apache.tools.ant.Task
Not an antelope task, this is for Cobalt, but put it in the same package
for easier use.
- Version:
- $Revision: 132 $
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
void
setMinutes
(int m) Set the number of minutes to read, so, for example, 2 would read the most recent 2 minutes from the log.void
setProperty
(String name) Where to put the log contents.void
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
-
Constructor Details
-
ReadLog
public ReadLog()
-
-
Method Details
-
setUrl
-
setProperty
Where to put the log contents.- Parameters:
name
- The new property value
-
setMinutes
public void setMinutes(int m) Set the number of minutes to read, so, for example, 2 would read the most recent 2 minutes from the log.- Parameters:
m
- the number of minutes. Use -1 to read the complete log. Default setting is to read 2 minutes.
-
execute
public void execute()- Overrides:
execute
in classorg.apache.tools.ant.Task
-