Class AbstractManifest

java.lang.Object
com.ptc.netmarkets.wp.ixb.AbstractManifest
Direct Known Subclasses:
AbstractStaticManifest

public abstract class AbstractManifest extends Object
The abstract for the all Manifest options for zip inclusion.

Supported API: true

Extendable: false
  • Method Details

    • decorate

      public File[] decorate(File[] jarFiles, DeliveryRecord delivery) throws WTException
      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 files
      delivery - the delivery
      addZipInfoFiles - whether generate and add info files to zip. (0.data & Missing object file) or not.
      Returns:
      File[]
      Throws:
      WTException - the wT exception
    • modifyExportContents

      protected abstract void modifyExportContents(WPZipContent zipContent) throws WTException
      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

      protected void setWorkpackage(AbstractWorkPackage workpackage)
      Set the AbstractWorkPackage currently being exported

      Supported API: true

      Extendable: false

      .
      Parameters:
      workpackage - the new workpackage
    • getWorkPackage

      protected AbstractWorkPackage getWorkPackage()
      Get the AbstractWorkPackage currently being exported

      Supported API: true

      Extendable: false

      .
      Returns:
      workpackage
    • setDeliveryRecord

      protected void setDeliveryRecord(DeliveryRecord delivery)
      Set the DeliveryRecord currently being exported

      Supported API: true

      Extendable: false

      .
      Parameters:
      delivery - the new delivery record
    • getDeliveryRecord

      protected DeliveryRecord getDeliveryRecord()
      Get the DeliveryRecord currently being exported

      Supported API: true

      Extendable: false

      .
      Returns:
      delivery
    • getTrackedObjects

      public TrackedDeliveryObjects 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