Class DownloadParams

    • Method Detail

      • isNewLayer

        public final boolean isNewLayer()
        Determines if the data is to be downloaded into a new layer.
        Returns:
        true, if the data is to be downloaded into a new layer. If false, the task selects one of the existing layers as download layer, preferably the active layer.
        See Also:
        getLayerName()
      • withNewLayer

        public final DownloadParams withNewLayer​(boolean newLayer)
        Sets whether the data is to be downloaded into a new layer.
        Parameters:
        newLayer - true, if the data is to be downloaded into a new layer. If false, the task selects one of the existing layers as download layer, preferably the active layer.
        Returns:
        this
        See Also:
        withLayerName(java.lang.String)
      • getLayerName

        public final java.lang.String getLayerName()
        Returns the new layer name (if a new layer is to be created).
        Returns:
        the new layer name, or null
        See Also:
        isNewLayer()
      • withLayerName

        public final DownloadParams withLayerName​(java.lang.String layerName)
        Sets the new layer name (if a new layer is to be created).
        Parameters:
        layerName - the new layer name, or null
        Returns:
        this
        See Also:
        withNewLayer(boolean)
      • isLocked

        public final boolean isLocked()
        Determines if the new layer must be locked.
        Returns:
        true if the new layer must be locked
      • withLocked

        public final DownloadParams withLocked​(boolean locked)
        Sets whether the new layer must be locked.
        Parameters:
        locked - true if the new layer must be locked
        Returns:
        this
      • getUploadPolicy

        public final UploadPolicy getUploadPolicy()
        Returns the upload policy of new layer.
        Returns:
        the upload policy of new layer