Interface ChangeLog
public interface ChangeLog
ChangeLog -- The liquibase changelog.
This is the interface description to the changelog table as described in the liquibase documentation.
- Since:
- 3.0.0 2023-01-19
- Author:
- klenkes74 <rlichti@kaiserpfalz-edv.de>
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enum
The liquibase execution type. -
Method Summary
Modifier and TypeMethodDescription@Size(max=255) String
@Size(max=255) String
@Size(max=255) String
@NotNull @Size(max=10) String
@NotNull @Size(max=255) String
@NotNull @Size(max=255) OffsetDateTime
int
Order that the changesets were executed.@NotNull ChangeLog.ExecType
Description of how the changeset was executed.@Size(max=255) @NotNull String
Path to the changelog.@NotNull @Size(max=255) String
getId()
@Size(max=255) String
@NotNull @Size(max=20) String
@NotNull @Size(max=35) String
Checksum of the changeset when it was executed.@Size(max=255) String
getTag()
-
Method Details
-
getId
-
getAuthor
- Returns:
- Value from the changeset author attribute.
-
getFilename
Path to the changelog. This may be an absolute path or a relative path depending on how the changelog was passed to Liquibase. For best results, it should be a relative path. The logicalFilePath attribute can be used on the changelog or on individual changesets.- Returns:
- Path to the changelog.
-
getExecutionDate
- Returns:
- Date/time of when the changeset was executed. Used with
getExecutionOrder()
to determine rollback order.
-
getExecutionOrder
int getExecutionOrder()Order that the changesets were executed. Used in addition to
getExecutionDate()
to ensure order is correct even when the databases datetime supports poor resolution.NOTE: The values are only guaranteed to be increasing within an individual update run. There are times where they will restart at zero.
- Returns:
- Order that the changesets were executed.
-
getExecutionType
Description of how the changeset was executed.- Returns:
- Description of how the changeset was executed.
-
getMd5Sum
Checksum of the changeset when it was executed. Used on each run to ensure there have been no unexpected changes to changesets in the changelog file.- Returns:
- Checksum of the changeset when it was executed.
-
getDescription
- Returns:
- Short auto-generated human-readable description of changeset
-
getComments
- Returns:
- Value from the changeset comment attribute.
-
getTag
- Returns:
- Tracks which changeset correspond to tag operations.
-
getLiquibaseVersion
- Returns:
- Version of Liquibase used to execute the changeset.
-
getContexts
- Returns:
- Context(s) used to execute the changeset.
-
getLabels
- Returns:
- Label(s) used to execute the changeset.
-
getDeploymentId
- Returns:
- changesets deployed together will have the same unique identifier.
-