public class WebPDFTask extends Task implements org.apache.tools.ant.TaskContainer
| Constructor and Description |
|---|
WebPDFTask()
An instance of this class is representing the top level of the webPDF ANT task.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.tools.ant.util.FileNameMapper fileNameMapper)
This shall configure the mapper used by this task, to determine the name of the generated target file.
|
void |
add(GroupTask task)
This method shall add a bundled
|
void |
add(NTCredentials credentials)
Provides credentials for windows platforms, containing username and password and optionally the name of the user's
workstation and domain name.
|
void |
add(org.apache.tools.ant.types.ResourceCollection resourceCollection)
This shall add the given items as sources of this task.
|
void |
add(UserCredentials credentials)
Provides basic user credentials (username and password) for the authentication at the webPDF server.
|
void |
add(Variable variable)
Adds a variable to the group context.
|
void |
addTask(org.apache.tools.ant.Task task)
Method to add sub elements to this tag.
|
void |
execute()
Central method to execute a task and all it's sub tasks.
|
void |
setFailOnError(boolean failOnError)
This will set the failOnError flag.
|
void |
setServerUrl(String serverUrl)
This will initialize an URL pointing to the webPDF server.
|
void |
setTargetDir(File targetDir)
This will set the target directory all operation results shall be published to.
|
void |
setTargetFile(File targetFile)
This will set a single file all output shall be written to.
|
void |
setTempDir(File tempDir)
This shall define the temporary directory for this task.
|
getFiles, getLogger, getTaskConfiguration, getVariables, setFiles, setTaskConfigurationbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic WebPDFTask()
It may contain either grouped operations
public void execute()
throws org.apache.tools.ant.BuildException
public void addTask(org.apache.tools.ant.Task task)
addTask in interface org.apache.tools.ant.TaskContainertask - The sub task, that shall be added.public void add(org.apache.tools.ant.types.ResourceCollection resourceCollection)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
resourceCollection - A collection of resources, that shall be processed by this task.public void add(org.apache.tools.ant.util.FileNameMapper fileNameMapper)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
fileNameMapper - The mapper defining naming conventions for target files of this task.public void add(GroupTask task)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
task - A group task containing a sequence of webservice operations.public void add(UserCredentials credentials)
credentials - The credentials task containing all necessary authentication information.public void add(NTCredentials credentials)
credentials - The credentials task containing all necessary authentication information.public final void add(Variable variable)
variable - The variable, that shall be added.public void setFailOnError(boolean failOnError)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
failOnError - A flag indicating whether a failure to execute a webservice shall interrupt the task and prevent
the execution of following webservice operations.public void setServerUrl(String serverUrl)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
serverUrl - An URL pointing to the webPDF serverpublic void setTargetDir(File targetDir)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
targetDir - The path operation results shall be placed at.public void setTargetFile(File targetFile)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
targetFile - The file results shall be published to.public void setTempDir(File tempDir)
It is not expected to use this method actively, as it is specifically defined for the access by ANT.
tempDir - The directory temporary results, of non terminal operation calls, shall be published to.Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.