|
|||||||||
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
org.apache.ode.tools.CommandTask
public abstract class CommandTask
Base Task
that implements CommandContext
. This is
extended by other Task
implementations that serve as
Command
wrappers.
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 | |
---|---|
CommandTask()
|
Method Summary | |
---|---|
void |
debug(java.lang.String s)
Log an debug-level message. |
void |
debug(java.lang.String s,
java.lang.Throwable t)
Log a debug-level message that resulted from a Throwable . |
void |
errln(java.lang.String s)
Send a line of output to the equivalent of standard error. |
void |
error(java.lang.String s)
Log an error. |
void |
error(java.lang.String s,
java.lang.Throwable t)
Log an error that resulted from a Throwable . |
void |
info(java.lang.String s)
Log an informative message. |
void |
info(java.lang.String s,
java.lang.Throwable t)
Log an informative message that resulted from a Throwable . |
void |
out(java.lang.String s)
Send output to the equivalent of standard out. |
void |
outln(java.lang.String s)
Send a line of output to the equivalent of standard out. |
void |
warn(java.lang.String s)
Log a warning. |
void |
warn(java.lang.String s,
java.lang.Throwable t)
Log a warning that resulted from a Throwable |
Methods inherited from class org.apache.tools.ant.Task |
---|
execute, 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 |
---|
public CommandTask()
Method Detail |
---|
public void outln(java.lang.String s)
CommandContext
outln
in interface CommandContext
s
- the content to send.public void out(java.lang.String s)
CommandContext
out
in interface CommandContext
s
- the content to send.public void errln(java.lang.String s)
CommandContext
errln
in interface CommandContext
s
- the content to send.public void error(java.lang.String s)
CommandContext
error
in interface CommandContext
s
- a descriptive message.public void error(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.
error
in interface CommandContext
s
- a descriptive message.t
- the cause.public void warn(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
warn
in interface CommandContext
public void warn(java.lang.String s)
CommandContext
warn
in interface CommandContext
s
- a descriptive message.public void info(java.lang.String s)
CommandContext
info
in interface CommandContext
s
- a descriptive message.public void info(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.
info
in interface CommandContext
s
- a descriptive message.t
- the cause.public void debug(java.lang.String s, java.lang.Throwable t)
CommandContext
Throwable
.
debug
in interface CommandContext
s
- a descriptive message.t
- the cause.public void debug(java.lang.String s)
CommandContext
debug
in interface CommandContext
s
- a descriptive message.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |