public class AssemblerResult extends Object implements Serializable
AssemblerResult
object is a container for the results of a DDX job. It includes result documents as
well as the Throwable
exceptions that occurred for each DDX block that failed. It also contains audit
lists that are useful for iterating through the result documents or Throwable
exceptions.Constructor and Description |
---|
AssemblerResult() |
Modifier and Type | Method and Description |
---|---|
Map<String,Document> |
getDocuments()
Retrieves the successful documents from the DDX job.
|
List<String> |
getFailedBlockNames()
A list of the names of the failed blocks.
|
Document |
getJobLog()
Retrieves the job log that was generated during execution of the DDX.
|
int |
getLastBatesNumber()
Returns the numeric portion from the last page stamped with a bates number.
|
Map<String,List<String>> |
getMultipleResultsBlocks()
Retrieves a map of the result block name to a list of the document names resulting from that result block.
|
int |
getNumRequestedBlocks()
Retrieves the number of result blocks in the DDX.
|
List<String> |
getSuccessfulBlockNames()
Retrieves the names of the blocks that were successful.
|
List<String> |
getSuccessfulDocumentNames()
Retrieves the names of the documents that were successful.
|
Map<String,OperationException> |
getThrowables()
Retrieves a map of the throwable exceptions that were generated during execution of the DDX.
|
void |
setDocuments(Map<String,Document> documents)
Sets the successful documents from the DDX job.
|
void |
setFailedBlockNames(List<String> failedBlockNames)
Sets the names of the failed blocks.
|
void |
setJobLog(Document jobLog)
Sets the job log that was generated during execution of the DDX.
|
void |
setLastBatesNumber(int lastBatesNumber)
Sets the numeric portion from the last page stamped with a bates number.
|
void |
setMultipleResultsBlocks(Map<String,List<String>> multipleResultsBlocks)
Sets a map of the result block name to the document names resulting from that result block.
|
void |
setNumRequestedBlocks(int numRequestedBlocks)
Sets the number of result blocks in the DDX.
|
void |
setSuccessfulBlockNames(List<String> successfulBlockNames)
Sets the names of the blocks that were successful.
|
void |
setSuccessfulDocumentNames(List<String> successfulDocumentNames)
Sets the names of the documents that were successful.
|
void |
setThrowables(Map<String,OperationException> throwables)
Sets a map of the throwable exceptions that were generated during execution of the DDX.
|
public Map<String,Document> getDocuments()
To see this method used in a code example, see the Programmatically Assembling PDF Documents quick start in the SDK Help.
Map
containing the successful documents. The key is a logical name for the document and
the value is the document itself. The name may not be assumed to be suitable to use as a name for the
output destination.public void setDocuments(Map<String,Document> documents)
documents
- The successful documents from the DDX job.public List<String> getFailedBlockNames()
List
containing the names of the failed blocks.public void setFailedBlockNames(List<String> failedBlockNames)
failedBlockNames
- The names of the failed blocks.public Document getJobLog()
Document
containing the job log that was generated during execution of the DDX.public void setJobLog(Document jobLog)
jobLog
- A Document
containing the job log that was generated during execution of
the DDX.public int getNumRequestedBlocks()
public void setNumRequestedBlocks(int numRequestedBlocks)
numRequestedBlocks
- The number of result blocks in the DDX.public Map<String,List<String>> getMultipleResultsBlocks()
PDFsFromBookmarks
and FileAttachments
result blocks.Map
of the result block name to the document names resulting from that result block.public void setMultipleResultsBlocks(Map<String,List<String>> multipleResultsBlocks)
PDFsFromBookmarks
and FileAttachments
result blocks.multipleResultsBlocks
- A Map
of the result block name to a list of the document names
resulting from that result block.public List<String> getSuccessfulBlockNames()
List
containing the names of the blocks that were successful.public void setSuccessfulBlockNames(List<String> successfulBlockNames)
successfulBlockNames
- A List
containing the names of the blocks that were successful.public List<String> getSuccessfulDocumentNames()
List
containing the names of the documents that were successful.public void setSuccessfulDocumentNames(List<String> successfulDocumentNames)
successfulDocumentNames
- A List
containing the names of the documents that were successful.public Map<String,OperationException> getThrowables()
Map
containing the throwable exceptions that were generated during execution of the DDX.public void setThrowables(Map<String,OperationException> throwables)
throwables
- A Map
containing the throwable exceptions that were generated during execution
of the DDX.public int getLastBatesNumber()
public void setLastBatesNumber(int lastBatesNumber)
lastBatesNumber
- The numeric portion from the last page stamped with a bates number.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.