Package com.github.sardine.ant.command
Class Delete
java.lang.Object
org.apache.tools.ant.ProjectComponent
com.github.sardine.ant.Command
com.github.sardine.ant.command.Delete
- All Implemented Interfaces:
Cloneable
public class Delete extends Command
A nice ant wrapper around sardine.delete().
- Author:
- Jon Stevens
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Delete() -
Method Summary
Modifier and Type Method Description protected voidexecute()Execute the command.voidsetUrl(String url)Set URL to delete.protected voidvalidateAttributes()This is called prior toCommand.execute()in order to enable the command implementation to validate the provided attributes.
-
Constructor Details
-
Delete
public Delete()
-
-
Method Details
-
execute
Execute the command. -
validateAttributes
This is called prior toCommand.execute()in order to enable the command implementation to validate the provided attributes.- Specified by:
validateAttributesin classCommand- Throws:
Exception- if the command is misconfigured
-
setUrl
Set URL to delete.
-