Package liquibase.command.core.init
Enum InitProjectUtil.FileCreationResultEnum
java.lang.Object
java.lang.Enum<InitProjectUtil.FileCreationResultEnum>
liquibase.command.core.init.InitProjectUtil.FileCreationResultEnum
- All Implemented Interfaces:
Serializable
,Comparable<InitProjectUtil.FileCreationResultEnum>
- 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.
-
Enum Constant Summary
Enum 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 type with the specified name.values()
Returns an array containing the constants of this enum type, 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 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
-