Class Payload
- java.lang.Object
-
- org.opencastproject.fileupload.api.job.Payload
-
public class Payload extends Object
A class representing the information about the payload of an upload job.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCurrentSize()
String
getFilename()
org.opencastproject.mediapackage.MediaPackageElementFlavor
getFlavor()
org.opencastproject.mediapackage.MediaPackage
getMediaPackage()
long
getTotalSize()
URL
getUrl()
void
setCurrentSize(long size)
void
setFlavor(org.opencastproject.mediapackage.MediaPackageElementFlavor flavor)
void
setMediaPackage(org.opencastproject.mediapackage.MediaPackage mp)
void
setTotalSize(long totalsize)
void
setUrl(URL url)
-
-
-
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)
-
-