Enum Class FileAuditEvent.FileOperation
- All Implemented Interfaces:
Serializable, Comparable<FileAuditEvent.FileOperation>, java.lang.constant.Constable
- Enclosing class:
FileAuditEvent
The
FileOperation enumerates the file system operations that can be audited.- Since:
- 3.12.0
- Version:
- 3.12.0
- Author:
- Frank Fock
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FileAuditEvent.FileOperationReturns the enum constant of this class with the specified name.static FileAuditEvent.FileOperation[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
READ
The contents of an existing file are about to be read. -
WRITE
The contents of a (new or existing) file are about to be written or modified. -
CREATE
A new file is about to be created. -
DELETE
A file is about to be (or has been) deleted.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-