Package liquibase
Enum ChecksumVersion
- java.lang.Object
-
- java.lang.Enum<ChecksumVersion>
-
- liquibase.ChecksumVersion
-
- All Implemented Interfaces:
Serializable
,Comparable<ChecksumVersion>
public enum ChecksumVersion extends Enum<ChecksumVersion>
Enum used to keep track of Liquibase Checksum versions introduced to enable the support of multiple versions at the same time.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ChecksumVersion
enumFromChecksumVersion(int i)
static ChecksumVersion
latest()
boolean
lowerOrEqualThan(ChecksumVersion compareTo)
static ChecksumVersion
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChecksumVersion[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
V9
public static final ChecksumVersion V9
-
V8
public static final ChecksumVersion V8
-
V7
public static final ChecksumVersion V7
-
V6
public static final ChecksumVersion V6
-
V5
public static final ChecksumVersion V5
-
V4
public static final ChecksumVersion V4
-
V3
public static final ChecksumVersion V3
-
V2
public static final ChecksumVersion V2
-
V1
public static final ChecksumVersion V1
-
-
Method Detail
-
values
public static ChecksumVersion[] 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 (ChecksumVersion c : ChecksumVersion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChecksumVersion 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
-
latest
public static ChecksumVersion latest()
-
enumFromChecksumVersion
public static ChecksumVersion enumFromChecksumVersion(int i)
-
lowerOrEqualThan
public boolean lowerOrEqualThan(ChecksumVersion compareTo)
-
-