public class SardineTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
SardineTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
addCopy(Copy copy)
Add a copy command.
|
void |
addCreateDirectory(CreateDirectory createDirectory)
Add a createDirectory command.
|
void |
addDelete(Delete delete)
Add a delete command.
|
void |
addExists(Exists exists)
Add a delete command.
|
void |
addMove(Move move)
Add a move command.
|
void |
addPut(Put put)
Add a put command.
|
void |
execute() |
Sardine |
getSardine()
Returns the sardine impl.
|
boolean |
isFailonerror()
Returns the fail on error behavior.
|
void |
setFailonerror(boolean failonerror)
Set the fail on error behavior.
|
void |
setPassword(String password)
Setter for attribute password.
|
void |
setPreemptiveAuthenticationHost(String host)
Setter for attribute preemptiveAuthenticationHost.
|
void |
setUsername(String username)
Setter for attribute username.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void addCopy(Copy copy)
public void addCreateDirectory(CreateDirectory createDirectory)
public void addDelete(Delete delete)
public void addExists(Exists exists)
public void addMove(Move move)
public void addPut(Put put)
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setFailonerror(boolean failonerror)
failonerror - true to fail on the first error; false to just log errors
and continuepublic boolean isFailonerror()
true to fail on the first error; false to just log errors and
continuepublic void setUsername(String username)
username - used for authenticationpublic void setPassword(String password)
password - used for authenticationpublic void setPreemptiveAuthenticationHost(String host)
host - name of the host to acivate the preemptive authentication forpublic Sardine getSardine()
Copyright © 2014. All rights reserved.