public static enum SharabilityQuery.Sharability extends Enum<SharabilityQuery.Sharability>
Enum.EnumDesc<E extends Enum<E>>
Enum Constant and Description |
---|
MIXED
Constant indicating that a directory is sharable but files and
directories recursively contained in it may or may not be sharable.
|
NOT_SHARABLE
Constant indicating that the file or directory is not sharable.
|
SHARABLE
Constant indicating that the file or directory is sharable.
|
UNKNOWN
Constant indicating that nothing is known about whether a given
file should be considered sharable or not.
|
Modifier and Type | Method and Description |
---|---|
static SharabilityQuery.Sharability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharabilityQuery.Sharability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharabilityQuery.Sharability UNKNOWN
public static final SharabilityQuery.Sharability SHARABLE
public static final SharabilityQuery.Sharability NOT_SHARABLE
public static final SharabilityQuery.Sharability MIXED
public static SharabilityQuery.Sharability[] values()
public static SharabilityQuery.Sharability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null