Annotation Interface FileSystemInfo


@Retention(RUNTIME) @Target(TYPE) public @interface FileSystemInfo
Specifies the info needed of a GFileSystem implementation.

  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The GFileSystemFactory class that will be responsible for probing and creating instances of this filesystem.
    The 'type' of this filesystem, a short 1 word, lowercase string used in FSRLs to reference this filesystem, "[a-z0-9]+" only.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    A longer description of this filesystem.
    int
    The relative priority of filesystems during probing.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Field Details

  • Element Details

    • type

      String type
      The 'type' of this filesystem, a short 1 word, lowercase string used in FSRLs to reference this filesystem, "[a-z0-9]+" only.
      Returns:
      Short 1 word lowercase String.
    • factory

      Class<? extends GFileSystemFactory<?>> factory
      The GFileSystemFactory class that will be responsible for probing and creating instances of this filesystem.
      Returns:
      Class that implements GFileSystemFactory
    • description

      String description
      A longer description of this filesystem.

      Returns:
      Free form description string, defaults to empty string if not set.
      Default:
      ""
    • priority

      int priority
      The relative priority of filesystems during probing.

      Higher numeric values are considered before lower values.

      Returns:
      integer that specifies the relative ordering of filesystems during probing.
      Default:
      0