Class Payload


  • public class Payload
    extends Object
    A class representing the information about the payload of an upload job.
    • Constructor Detail

      • Payload

        public Payload()
      • Payload

        public Payload​(String filename,
                       long size,
                       org.opencastproject.mediapackage.MediaPackage mp,
                       org.opencastproject.mediapackage.MediaPackageElementFlavor flavor)
    • Method Detail

      • getFilename

        public String getFilename()
      • getTotalSize

        public long getTotalSize()
      • setTotalSize

        public void setTotalSize​(long totalsize)
      • getCurrentSize

        public long getCurrentSize()
      • setCurrentSize

        public void setCurrentSize​(long size)
      • getMediaPackage

        public org.opencastproject.mediapackage.MediaPackage getMediaPackage()
      • setMediaPackage

        public void setMediaPackage​(org.opencastproject.mediapackage.MediaPackage mp)
      • getFlavor

        public org.opencastproject.mediapackage.MediaPackageElementFlavor getFlavor()
      • setFlavor

        public void setFlavor​(org.opencastproject.mediapackage.MediaPackageElementFlavor flavor)
      • getUrl

        public URL getUrl()
      • setUrl

        public void setUrl​(URL url)