| Constructor and Description |
|---|
Put() |
| Modifier and Type | Method and Description |
|---|---|
void |
addConfiguredFileset(org.apache.tools.ant.types.FileSet value)
Add a source file set.
|
protected void |
execute()
Execute the command.
|
void |
setContentType(String contentType)
Set optional content type of the source file.
|
void |
setFile(File file)
Set source file.
|
void |
setUrl(String urlString)
Set destination URL.
|
protected void |
validateAttributes()
This is called prior to
Command.execute() in order to enable the command implementation to validate
the provided attributes. |
executeCommand, getSardine, setTaskprotected void execute()
throws Exception
protected void validateAttributes()
throws Exception
Command.execute() in order to enable the command implementation to validate
the provided attributes.validateAttributes in class CommandException - if the command is misconfiguredpublic void setUrl(String urlString)
public void setFile(File file)
public void setContentType(String contentType)
public void addConfiguredFileset(org.apache.tools.ant.types.FileSet value)
Copyright © 2015. All rights reserved.