Enum FileSystemHooks
- java.lang.Object
-
- java.lang.Enum<FileSystemHooks>
-
- org.uberfire.java.nio.file.extensions.FileSystemHooks
-
- All Implemented Interfaces:
Serializable,Comparable<FileSystemHooks>
public enum FileSystemHooks extends Enum<FileSystemHooks>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileSystemHooks.FileSystemHook
-
Enum Constant Summary
Enum Constants Enum Constant Description BranchAccessCheckBranchAccessFilterExternalUpdatePostCommit
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FileSystemHooksvalueOf(String name)Returns the enum constant of this type with the specified name.static FileSystemHooks[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ExternalUpdate
public static final FileSystemHooks ExternalUpdate
-
PostCommit
public static final FileSystemHooks PostCommit
-
BranchAccessCheck
public static final FileSystemHooks BranchAccessCheck
-
BranchAccessFilter
public static final FileSystemHooks BranchAccessFilter
-
-
Method Detail
-
values
public static FileSystemHooks[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FileSystemHooks c : FileSystemHooks.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FileSystemHooks valueOf(String name)
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
-
-