Annotation Interface FileSystemInfo
Specifies the info needed of a
GFileSystem
implementation.
type()
is required.description()
is optional.factory()
is required.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends GFileSystemFactory<?>> TheGFileSystemFactory
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
Modifier and TypeOptional ElementDescriptionA longer description of this filesystem.int
The relative priority of filesystems during probing. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
-
Field Details
-
PRIORITY_DEFAULT
static final int PRIORITY_DEFAULT- See Also:
-
PRIORITY_HIGH
static final int PRIORITY_HIGH- See Also:
-
PRIORITY_LOW
static final int PRIORITY_LOW- See Also:
-
PRIORITY_LOWEST
static final int PRIORITY_LOWEST- See Also:
-
-
Element Details
-
type
String typeThe '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.
-
description
String descriptionA longer description of this filesystem.- Returns:
- Free form description string, defaults to empty string if not set.
- Default:
""
-
factory
Class<? extends GFileSystemFactory<?>> factoryTheGFileSystemFactory
class that will be responsible for probing and creating instances of this filesystem.- Returns:
- Class that implements
GFileSystemFactory
-
priority
int priorityThe 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
-