Class PackageUploadJobRequest

java.lang.Object
org.xwiki.job.AbstractRequest
com.xwiki.admintools.jobs.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:
  • Field Summary

    Fields inherited from interface org.xwiki.job.Request

    PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
    Creates a specific request for package upload job.
  • Method Summary

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • 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 Details

    • getFileRef

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