Package liquibase.command.core.init
Enum Class InitProjectUtil.FileCreationResultEnum
java.lang.Object
java.lang.Enum<InitProjectUtil.FileCreationResultEnum>
liquibase.command.core.init.InitProjectUtil.FileCreationResultEnum
- All Implemented Interfaces:
Serializable
,Comparable<InitProjectUtil.FileCreationResultEnum>
,Constable
- Enclosing class:
- InitProjectUtil
public static enum InitProjectUtil.FileCreationResultEnum
extends Enum<InitProjectUtil.FileCreationResultEnum>
Enum class which indicates the outcome of the attempt to create a file.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe file already existed.A new file was created.The user skipped the creation of the changelog file, and thus the file was not created. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
created
A new file was created. -
already_existed
The file already existed. -
skipped_changelog_step
The user skipped the creation of the changelog file, and thus the file was not created.
-
-
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
-