Class SmbFetcherConfig


public class SmbFetcherConfig extends BaseAuthNioFetcherConfig

Configuration for SmbFetcher.

  • Constructor Details

    • SmbFetcherConfig

      public SmbFetcherConfig()
  • Method Details

    • getAcl

      @NonNull public @NonNull AclFetchMode getAcl()
      Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both. Reading a share's permissions usually needs an account with administrative rights on the server; without them, the documents' ACLs are partial. Default is AclFetchMode.NONE.
    • isLinuxServer

      public boolean isLinuxServer()
      Whether the server is a Linux (or other Unix) server sharing its files through Samba. Such a server also checks the right to go through every folder above a file, which Windows lets everyone do, so the ACL then gets a path level for the folders within the share. Default is false (a Windows server).
    • setAcl

      public SmbFetcherConfig setAcl(@NonNull @NonNull AclFetchMode acl)
      Which permissions to read and write on each document as its access control list (ACL): the file's own (AclFetchMode.BASIC), or the share's too (AclFetchMode.EXTENDED), as a level of its own, since a person must pass both. Reading a share's permissions usually needs an account with administrative rights on the server; without them, the documents' ACLs are partial. Default is AclFetchMode.NONE.
      Returns:
      this.
    • setLinuxServer

      public SmbFetcherConfig setLinuxServer(boolean linuxServer)
      Whether the server is a Linux (or other Unix) server sharing its files through Samba. Such a server also checks the right to go through every folder above a file, which Windows lets everyone do, so the ACL then gets a path level for the folders within the share. Default is false (a Windows server).
      Returns:
      this.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseAuthNioFetcherConfig
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class BaseAuthNioFetcherConfig
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseAuthNioFetcherConfig
    • toString

      public String toString()
      Overrides:
      toString in class BaseAuthNioFetcherConfig