Package com.ptc.netmarkets.wp.ixb
Class AbstractManifest
java.lang.Object
com.ptc.netmarkets.wp.ixb.AbstractManifest
- Direct Known Subclasses:
AbstractStaticManifest
The abstract for the all Manifest options for zip inclusion.
Supported API: true
Extendable: false
Supported API: true
Extendable: false
-
Method Summary
Modifier and TypeMethodDescriptionFile[]decorate(File[] jarFiles, DeliveryRecord delivery) Removes all Ixb content files from all chunks Creates and appends a manifest file.File[]decorate(File[] jarFiles, DeliveryRecord delivery, Boolean addZipInfoFiles) Removes all Ixb content files from all chunks Creates and appends a manifest file.protected DeliveryRecordGet the DeliveryRecord currently being exported
Supported API: true
Extendable: false
.Get package members tracked in this delivery.protected AbstractWorkPackageGet the AbstractWorkPackage currently being exported
Supported API: true
Extendable: false
.protected abstract voidmodifyExportContents(WPZipContent zipContent) Add files to the content in the zipContent which will be reflected in the created export files.protected voidsetDeliveryRecord(DeliveryRecord delivery) Set the DeliveryRecord currently being exported
Supported API: true
Extendable: false
.protected voidsetWorkpackage(AbstractWorkPackage workpackage) Set the AbstractWorkPackage currently being exported
Supported API: true
Extendable: false
.
-
Method Details
-
decorate
Removes all Ixb content files from all chunks Creates and appends a manifest file.
Supported API: true
Extendable: false- Parameters:
jarFiles-delivery-- Returns:
- Throws:
WTException
-
decorate
public File[] decorate(File[] jarFiles, DeliveryRecord delivery, Boolean addZipInfoFiles) throws WTException Removes all Ixb content files from all chunks Creates and appends a manifest file.
Supported API: true
Extendable: false- Parameters:
jarFiles- the jar filesdelivery- the deliveryaddZipInfoFiles- whether generate and add info files to zip. (0.data & Missing object file) or not.- Returns:
- File[]
- Throws:
WTException- the wT exception
-
modifyExportContents
Add files to the content in the zipContent which will be reflected in the created export files.
Supported API: true
Extendable: false- Parameters:
zipContent- the zip content- Throws:
WTException- the wT exception
-
setWorkpackage
Set the AbstractWorkPackage currently being exported
Supported API: true
Extendable: false
.- Parameters:
workpackage- the new workpackage
-
getWorkPackage
Get the AbstractWorkPackage currently being exported
Supported API: true
Extendable: false
.- Returns:
- workpackage
-
setDeliveryRecord
Set the DeliveryRecord currently being exported
Supported API: true
Extendable: false
.- Parameters:
delivery- the new delivery record
-
getDeliveryRecord
Get the DeliveryRecord currently being exported
Supported API: true
Extendable: false
.- Returns:
- delivery
-
getTrackedObjects
Get package members tracked in this delivery. Used for creation of the mainfest.
Supported API: true
Extendable: false.- Returns:
- trackedObjs objects tracked in this delivery
-