Package net.webpdf.wsclient.openapi
Class OperationFileSpecification
- java.lang.Object
-
- net.webpdf.wsclient.openapi.OperationFileSpecification
-
public class OperationFileSpecification extends Object
Used to specify the location and additional parameters for running an application or opening a document.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_DESCRIPTIONstatic StringJSON_PROPERTY_RESOURCE_U_R_Lstatic StringJSON_PROPERTY_VOLATILE_FILE
-
Constructor Summary
Constructors Constructor Description OperationFileSpecification()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationFileSpecificationdescription(String description)booleanequals(Object o)@Nullable StringgetDescription()A description of the application that should be opened.@Nullable StringgetResourceURL()The path or URL for the application / document.@Nullable BooleangetVolatileFile()This value should be set to true if the selected document will be subject to changes continuously and the reader application should be forced to continuously reload the document instead of caching it.inthashCode()OperationFileSpecificationresourceURL(String resourceURL)voidsetDescription(String description)voidsetResourceURL(String resourceURL)voidsetVolatileFile(Boolean volatileFile)StringtoString()OperationFileSpecificationvolatileFile(Boolean volatileFile)
-
-
-
Field Detail
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RESOURCE_U_R_L
public static final String JSON_PROPERTY_RESOURCE_U_R_L
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLATILE_FILE
public static final String JSON_PROPERTY_VOLATILE_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public OperationFileSpecification description(String description)
-
getDescription
@Nullable public @Nullable String getDescription()
A description of the application that should be opened.- Returns:
- description
-
setDescription
public void setDescription(String description)
-
resourceURL
public OperationFileSpecification resourceURL(String resourceURL)
-
getResourceURL
@Nullable public @Nullable String getResourceURL()
The path or URL for the application / document. Use forward slashes as path separators. It is potentially possible to use platform-specific characters, but this is not recommended. If you do end up using platform-specific characters anyway, they must be preceded by a backslash (‘\\\\').- Returns:
- resourceURL
-
setResourceURL
public void setResourceURL(String resourceURL)
-
volatileFile
public OperationFileSpecification volatileFile(Boolean volatileFile)
-
getVolatileFile
@Nullable public @Nullable Boolean getVolatileFile()
This value should be set to true if the selected document will be subject to changes continuously and the reader application should be forced to continuously reload the document instead of caching it.- Returns:
- volatileFile
-
setVolatileFile
public void setVolatileFile(Boolean volatileFile)
-
-