public class TaskConfiguration extends Object
| Constructor and Description |
|---|
TaskConfiguration()
Shall create a new task configuration, that shall be referenced by all sub tasks.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.http.auth.Credentials |
getCredentials()
Returns credentials, that may be used to authenticate a user at the webPDF server.
|
URL |
getServerURL()
Returns the URL of the webPDF server.
|
IterativeTaskFileMap |
getTaskFiles()
The returned TaskFileCollection shall contain all files the current webPDf task shall be executed for.
|
boolean |
isFailOnError()
If this returns true, then a failing task must interrupt the currently executed webPDF task and shall prevent
other sub tasks from being executed.
|
void |
setCredentialsTask(org.apache.tools.ant.Task credentialsTask)
Initializes the credentials, that shall be used for the authentication at the webPDF server.
|
void |
setFailOnError(boolean failOnError)
If set to true, a failing sub task shall instantly interrupt the execution of the webPDF task and shall prevent
other sub tasks from being executed.
|
void |
setServerUrl(String serverURl)
Sets the URL of the webPDF server.
|
public TaskConfiguration()
public IterativeTaskFileMap getTaskFiles()
public void setServerUrl(String serverURl)
serverURl - The url of the webPDF server.public URL getServerURL() throws MalformedURLException
MalformedURLException - Is thrown if the given server url is invalid.public void setFailOnError(boolean failOnError)
failOnError - True to prevent further execution when a task has failed.public boolean isFailOnError()
public void setCredentialsTask(org.apache.tools.ant.Task credentialsTask)
credentialsTask - The credentials task containing all necessary authentication information.public org.apache.http.auth.Credentials getCredentials()
Copyright © 2017–2019 SoftVision Development GmbH, Fulda, Germany. All rights reserved.