class TagDatabaseChange extends AbstractChange {

    private String tag;

    @DatabaseChangeProperty(description = "Tag to apply", exampleValue = "version_1.3")
    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    /**
     * {@inheritDoc}
     * @see MarkChangeSetRanGenerator#generateSql(MarkChangeSetRanStatement, Database, SqlGeneratorChain)
     */
    @Override
    public SqlStatement[] generateStatements(Database database) {
        return SqlStatement.EMPTY_SQL_STATEMENT;
    }

    @Override
    public ChangeStatus checkStatus(Database database) {<FILL_FUNCTION_BODY>}

    @Override
    public String getConfirmationMessage() {
        return "Tag '"+tag+"' applied to database";
    }

    @Override
    protected Change[] createInverses() {
        return EMPTY_CHANGE;
    }

    @Override
    public String getSerializedObjectNamespace() {
        return STANDARD_CHANGELOG_NAMESPACE;
    }
}

        try {
            return new ChangeStatus().assertComplete(
                Scope.getCurrentScope().getSingleton(ChangeLogHistoryServiceFactory.class).getChangeLogService(database).tagExists(getTag()), "Database not tagged");
        } catch (DatabaseException e) {
            return new ChangeStatus().unknown(e);
        }
    
<methods>public void <init>() ,public liquibase.change.ChangeStatus checkStatus(liquibase.database.Database) ,public liquibase.change.ChangeMetaData createChangeMetaData() ,public boolean equals(java.lang.Object) ,public void finishInitialization() throws liquibase.exception.SetupException,public liquibase.change.CheckSum generateCheckSum() ,public liquibase.statement.SqlStatement[] generateRollbackStatements(liquibase.database.Database) throws liquibase.exception.RollbackImpossibleException,public boolean generateRollbackStatementsVolatile(liquibase.database.Database) ,public boolean generateStatementsVolatile(liquibase.database.Database) ,public Set<liquibase.structure.DatabaseObject> getAffectedDatabaseObjects(liquibase.database.Database) ,public liquibase.changelog.ChangeSet getChangeSet() ,public java.lang.String getDescription() ,public java.lang.String[] getExcludedFieldFilters(liquibase.ChecksumVersion) ,public liquibase.resource.ResourceAccessor getResourceAccessor() ,public java.lang.String getSerializableFieldNamespace(java.lang.String) ,public liquibase.serializer.LiquibaseSerializable.SerializationType getSerializableFieldType(java.lang.String) ,public java.lang.Object getSerializableFieldValue(java.lang.String) ,public Set<java.lang.String> getSerializableFields() ,public java.lang.String getSerializedObjectName() ,public java.lang.String getSerializedObjectNamespace() ,public int hashCode() ,public void load(liquibase.parser.core.ParsedNode, liquibase.resource.ResourceAccessor) throws liquibase.parser.core.ParsedNodeException,public void modify(liquibase.change.visitor.ChangeVisitor) throws liquibase.parser.core.ParsedNodeException,public liquibase.parser.core.ParsedNode serialize() throws liquibase.parser.core.ParsedNodeException,public void setChangeSet(liquibase.changelog.ChangeSet) ,public void setResourceAccessor(liquibase.resource.ResourceAccessor) ,public boolean shouldExecuteChange(liquibase.database.Database) ,public boolean supports(liquibase.database.Database) ,public boolean supportsRollback(liquibase.database.Database) ,public java.lang.String toString() ,public liquibase.exception.ValidationErrors validate(liquibase.database.Database) ,public liquibase.exception.Warnings warn(liquibase.database.Database) <variables>private static final java.util.regex.Pattern ALPHABET,protected static final java.lang.String NODENAME_COLUMN,private liquibase.changelog.ChangeSet changeSet