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 |
addRecursiveGet(RecursiveGet get)
Add a recursive get command.
|
void |
execute() |
Sardine |
getSardine()
Returns the sardine impl.
|
boolean |
isFailonerror()
Returns the fail on error behavior.
|
void |
setDomain(String domain)
Setter for attribute domain for NTLM authentication.
|
void |
setFailonerror(boolean failonerror)
Set the fail on error behavior.
|
void |
setIgnoreCookies(boolean ignoreCookies)
Setter for attribute ignoreCookies.
|
void |
setPassword(String password)
Setter for attribute password.
|
void |
setPreemptiveAuthenticationHost(String host)
Setter for attribute preemptiveAuthenticationHost.
|
void |
setUsername(String username)
Setter for attribute username.
|
void |
setWorkstation(String workstation)
Setter for attribute workstation for NTLM authentication.
|
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 addRecursiveGet(RecursiveGet get)
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 setDomain(String domain)
domain - used for NTLM authenticationpublic void setWorkstation(String workstation)
workstation - used for NTLM authenticationpublic void setIgnoreCookies(boolean ignoreCookies)
ignoreCookies - to ignore cookies.public void setPreemptiveAuthenticationHost(String host)
host - name of the host to acivate the preemptive authentication forpublic Sardine getSardine()
Copyright © 2019. All rights reserved.