Class BatchPathRequest

  • All Implemented Interfaces:
    Serializable, org.xwiki.job.Request
    Direct Known Subclasses:
    MoveRequest, PackRequest

    @Unstable
    public class BatchPathRequest
    extends org.xwiki.job.AbstractRequest
    A generic request that targets multiple paths in the file system.
    Since:
    2.0M1
    Version:
    $Id$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String PROPERTY_PATHS  
      • 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
      Collection<Path> getPaths()  
      void setPaths​(Collection<Path> paths)
      Sets the paths that are targeted by this request.
      • 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

      • BatchPathRequest

        public BatchPathRequest()
    • Method Detail

      • getPaths

        public Collection<Path> getPaths()
        Returns:
        the collection of paths that are targeted by this request
      • setPaths

        public void setPaths​(Collection<Path> paths)
        Sets the paths that are targeted by this request.
        Parameters:
        paths - the collection of paths that are targeted by this request