Class OutputJobBuilder
java.lang.Object
ch.tocco.nice2.outputcenter.api.OutputJobBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddJobItem(OutputJobItemBuilder jobItemBuilder) archive(OutputJob.ArchiveType archiveType) @Nullable EntityModel@Nullable OutputCenterInputSupplierboolean@Nullable StringgetLabel()@Nullable EntityIdgetOwner()@Nullable OutputJob.TypegetType()booleanisPublic(boolean isPublic) mergeJobItemsIntoZip(boolean mergeJobItemsIntoZip) Multiple output job items are merged to a single file.toString()withEntityModel(@Nullable EntityModel model) withType(OutputJob.Type type)
-
Constructor Details
-
OutputJobBuilder
public OutputJobBuilder()
-
-
Method Details
-
withLabel
-
withInputSupplier
-
withOwner
-
withType
-
archive
-
addJobItem
-
withEntityModel
-
isPublic
-
getOwner
-
getLabel
-
getInputSupplier
-
getType
-
getArchive
-
getJobItems
-
getEntityModel
-
getIsPublic
public boolean getIsPublic() -
mergeJobItemsIntoZip
Multiple output job items are merged to a single file. If all job items are pdfs, they are merged into a single pdf file else a zip file is created. If `mergeJobItemsIntoZip` is set to true always a zip file is created instead of merging pdfs. For example this feature is necessary for pdfs containing xml (e.g. ZUGFeRD) because else we lost the xml during merging the pdfs. -
isMergeJobItemsIntoZip
public boolean isMergeJobItemsIntoZip() -
toString
-