public class EchoJob extends Object implements Runnable, Serializable
<oddjob> <job> <echo name="Greeting Job">Hello World</echo> </job> </oddjob>
<oddjob> <job> <sequential> <jobs> <echo id="first">Hello World Twice!</echo> <echo>${first.text}</echo> </jobs> </sequential> </job> </oddjob>
<oddjob id="this"> <job> <echo> <lines> <files files="${this.args[0]}/test/io/reference/*.txt"/> </lines> </echo> </job> </oddjob>
Constructor and Description |
---|
EchoJob() |
Modifier and Type | Method and Description |
---|---|
String[] |
getLines() |
String |
getName()
Get the name.
|
OutputStream |
getOutput() |
String |
getText()
Get the text.
|
void |
run() |
void |
setLines(String[] lines) |
void |
setName(String name)
Set the name
|
void |
setOutput(OutputStream output) |
void |
setText(String text)
Set the text.
|
String |
toString() |
public String getName()
public void setName(String name)
name
- The name.public String getText()
public void setText(String text)
The
- text.public String[] getLines()
public void setLines(String[] lines)
public OutputStream getOutput()
public void setOutput(OutputStream output)