|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ise.antelope.tasks.ReadLog
public class ReadLog
Not an antelope task, this is for Cobalt, but put it in the same package for easier use.
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 | |
---|---|
ReadLog()
|
Method Summary | |
---|---|
void |
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(java.lang.String name)
Where to put the log contents. |
void |
setUrl(java.net.URL url)
|
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 |
---|
public ReadLog()
Method Detail |
---|
public void setUrl(java.net.URL url)
public void setProperty(java.lang.String name)
name
- The new property valuepublic void setMinutes(int m)
m
- the number of minutes. Use -1 to read the complete log.
Default setting is to read 2 minutes.public void execute()
execute
in class org.apache.tools.ant.Task
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |