|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.momeunit.ant.core.OutputPipe
org.momeunit.ant.core.OutputLogger
public class OutputLogger
Class that reads input from InputStream
and logs it to ant logging
system. Sends input to pipe if requested.
Constructor Summary | |
---|---|
OutputLogger(InputStream pipeIn)
Instantiates OutputLogger with message priority of INFO . |
|
OutputLogger(InputStream pipeIn,
org.apache.tools.ant.Task task)
Instantiates OutputLogger with owning task and message priority of INFO . |
|
OutputLogger(InputStream pipeIn,
org.apache.tools.ant.Task task,
int msgPriority)
Instantiates OutputLogger with owning task and message priority. |
Method Summary | |
---|---|
int |
getMessagePriority()
Returns message priority. |
void |
run()
Reads input from InputStream and logs it to ant logging system
until input is closed. |
void |
setMessagePriority(int msgPriority)
Sets message priority. |
void |
setTask(org.apache.tools.ant.Task task)
Returns owning task. |
Methods inherited from class org.momeunit.ant.core.OutputPipe |
---|
getInputStream, getOutpuStream, getPipeOutput, setInputStream, start |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OutputLogger(InputStream pipeIn, org.apache.tools.ant.Task task, int msgPriority)
pipeIn
- InputStream of logger.task
- owning task.msgPriority
- message priority.public OutputLogger(InputStream pipeIn, org.apache.tools.ant.Task task)
INFO
.
pipeIn
- InputStream of logger.task
- owning task.public OutputLogger(InputStream pipeIn)
INFO
.
pipeIn
- InputStream of logger.Method Detail |
---|
public int getMessagePriority()
public void setMessagePriority(int msgPriority)
msgPriority
- the message priority to set.public void setTask(org.apache.tools.ant.Task task)
task
- the owning task to set.public void run()
InputStream
and logs it to ant logging system
until input is closed. Sends input to pipe if requested.
run
in interface Runnable
run
in class OutputPipe
OutputPipe.run()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |