|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.io.DeleteJob
public class DeleteJob
Unless the force property is set, this job will cause an exception if an attempt is made to delete a non empty directory.
<oddjob id="this"> <job> <delete> <files> <files files="${this.args[0]}/*"/> </files> </delete> </job> </oddjob>
Constructor Summary | |
---|---|
DeleteJob()
|
Method Summary | |
---|---|
File[] |
getFiles()
Get the files. |
boolean |
getForce()
Geter for force property. |
String |
getName()
Get the name. |
void |
run()
|
void |
setFiles(File[] files)
Set the files. |
void |
setForce(boolean force)
Setter for force property. |
void |
setName(String name)
Set the name |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteJob()
Method Detail |
---|
public String getName()
public void setName(String name)
name
- The name.public File[] getFiles()
public void setFiles(File[] files)
The
- files.public boolean getForce()
public void setForce(boolean force)
force
- The force property.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 |