class ReleaseLocksCommandStep extends AbstractCommandStep {

    public static final String[] COMMAND_NAME = {"releaseLocks"};

    @Override
    public void run(CommandResultsBuilder resultsBuilder) throws Exception {
        Database database = (Database) resultsBuilder.getCommandScope().getDependency(Database.class);
        ListLocksCommandStep.initializeChangelogService(database);
        LockServiceFactory.getInstance().getLockService(database).forceReleaseLock();
        Scope.getCurrentScope().getUI().sendMessage(String.format(
                        coreBundle.getString("successfully.released.database.change.log.locks"),
                        database.getConnection().getConnectionUserName() +
                                "@" + database.getConnection().getURL()
                )
        );
    }

    @Override
    public List<Class<?>> requiredDependencies() {
        return Arrays.asList(Database.class);
    }



    @Override
    public String[][] defineCommandNames() {
        return new String[][] { COMMAND_NAME };
    }

    @Override
    public void adjustCommandDefinition(CommandDefinition commandDefinition) {<FILL_FUNCTION_BODY>}

}

        commandDefinition.setShortDescription("Remove the Liquibase lock record from the DATABASECHANGELOG table");
    
<methods>public non-sealed void <init>() ,public void adjustCommandDefinition(liquibase.command.CommandDefinition) ,public int getOrder(liquibase.command.CommandDefinition) ,public List<Class<?>> providedDependencies() ,public List<Class<?>> requiredDependencies() ,public void validate(liquibase.command.CommandScope) throws liquibase.exception.CommandValidationException<variables>protected static java.util.ResourceBundle coreBundle