|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.jobs.EchoJob
public class EchoJob
<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 Summary | |
---|---|
EchoJob()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EchoJob()
Method Detail |
---|
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)
public void run()
run
in interface Runnable
public String toString()
toString
in class Object
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |