Class DownloadPermissionDescriptor

  • All Implemented Interfaces:
    Descriptor

    public class DownloadPermissionDescriptor
    extends Object
    implements Descriptor
    Descriptor for the permissions associated to a blob download.
    Since:
    7.4
    • Constructor Detail

      • DownloadPermissionDescriptor

        public DownloadPermissionDescriptor()
    • Method Detail

      • getId

        public String getId()
        Description copied from interface: Descriptor
        The descriptor id, descriptors with same id are merged.

        To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

        To forbid merge use a unique value, non-overriden toString() for exemple.

        Specified by:
        getId in interface Descriptor
      • getScriptLanguage

        public String getScriptLanguage()
      • merge

        public Descriptor merge​(Descriptor o)
        Description copied from interface: Descriptor
        Returns a descriptor representing other merged into this

        Default implementation returns other.

        Specified by:
        merge in interface Descriptor
        Returns:
        the merged descriptor