Class PackageUploadJobRequest

  • All Implemented Interfaces:
    Serializable, org.xwiki.job.Request

    @Unstable
    public class PackageUploadJobRequest
    extends org.xwiki.job.AbstractRequest
    Represents a request to start a package upload job.
    Since:
    1.1
    Version:
    $Id$
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from interface org.xwiki.job.Request

        PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String getFileRef()
      Get the attachment reference.
      • Methods inherited from class org.xwiki.job.AbstractRequest

        containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose
    • Constructor Detail

      • PackageUploadJobRequest

        public PackageUploadJobRequest()
        Default constructor.
      • PackageUploadJobRequest

        public PackageUploadJobRequest​(String fileRef,
                                       List<String> jobId)
        Creates a specific request for package upload job.
        Parameters:
        fileRef - the attachment reference.
        jobId - the ID of the request.
    • Method Detail

      • getFileRef

        public String getFileRef()
        Get the attachment reference.
        Returns:
        a String representing the attachment reference.