Enum Class FolderDrop.Kind
- All Implemented Interfaces:
Serializable,Comparable<FolderDrop.Kind>,Constable
- Enclosing class:
FolderDrop
What to do with the dropped folder.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA folder that is no repository yet: rungit initinFolderDrop.Decision.path(), then open it.Not something that can be added;FolderDrop.Decision.message()says why.A working tree: openFolderDrop.Decision.path()(the folder itself, or the repository that contains it). -
Method Summary
Modifier and TypeMethodDescriptionstatic FolderDrop.KindReturns the enum constant of this class with the specified name.static FolderDrop.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REPOSITORY
A working tree: openFolderDrop.Decision.path()(the folder itself, or the repository that contains it). -
NEW_REPOSITORY
A folder that is no repository yet: rungit initinFolderDrop.Decision.path(), then open it. -
REFUSED
Not something that can be added;FolderDrop.Decision.message()says why.
-
-
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
-