Interface FileSystemCapability.Builder

  • Method Details

    • directory

      FileSystemCapability.Builder directory(String directory)

      A base directory path. If provided, grants access to this directory and its contents.

      Parameters:
      directory - A base directory path. If provided, grants access to this directory and its contents.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paths

      Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

      Parameters:
      paths - Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • paths

      Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.

      Parameters:
      paths - Specific file paths to grant access to. Use when access to individual files is needed rather than an entire directory.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessMode

      FileSystemCapability.Builder accessMode(String accessMode)

      The level of filesystem access requested.

      Parameters:
      accessMode - The level of filesystem access requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • accessMode

      The level of filesystem access requested.

      Parameters:
      accessMode - The level of filesystem access requested.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createMode

      FileSystemCapability.Builder createMode(String createMode)

      Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

      Parameters:
      createMode - Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • createMode

      Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.

      Parameters:
      createMode - Controls the visibility of files created by the extension. Required when accessMode is READ_WRITE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: