Package com.github.sardine.ant.command
Class Move
java.lang.Object
org.apache.tools.ant.ProjectComponent
com.github.sardine.ant.Command
com.github.sardine.ant.command.Move
- All Implemented Interfaces:
Cloneable
public class Move extends Command
A nice ant wrapper around sardine.move().
- Author:
- Jon Stevens
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Move() -
Method Summary
Modifier and Type Method Description protected voidexecute()Execute the command.voidsetDstUrl(String dstUrl)Set the destination URL.voidsetSrcUrl(String srcUrl)Set the source URL.protected voidvalidateAttributes()This is called prior toCommand.execute()in order to enable the command implementation to validate the provided attributes.
-
Constructor Details
-
Move
public Move()
-
-
Method Details
-
execute
Execute the command. -
validateAttributes
Description copied from class:CommandThis 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
-
setSrcUrl
Set the source URL. -
setDstUrl
Set the destination URL.
-