Enum FileOwnership
- All Implemented Interfaces:
Serializable,Comparable<FileOwnership>
Indicates the ownership of a file in ForSt DB.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe file is not owned by DB.The file is privately owned by DB.The file is owned by DB but is shareable. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileOwnershipReturns the enum constant of this type with the specified name.static FileOwnership[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PRIVATE_OWNED_BY_DB
The file is privately owned by DB. "Owned by DB" means the file's lifecycle is managed by DB, i.e., it will be deleted when DB decides to dispose of it. "Privately" indicates that its ownership cannot be transferred to JM. -
SHAREABLE_OWNED_BY_DB
The file is owned by DB but is shareable. "Shareable" means its ownership can be transferred to JM in the future. -
NOT_OWNED
The file is not owned by DB. That means its lifecycle is not managed by DB, and only JM can decide when to delete it.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-