All Downloads are FREE. Search and download functionalities are using the official Maven repository.

liquibase.parser.SqlParserFactory Maven / Gradle / Ivy

There is a newer version: 4.30.0
Show newest version
package liquibase.parser;


import liquibase.plugin.AbstractPluginFactory;
import lombok.AccessLevel;
import lombok.NoArgsConstructor;

@NoArgsConstructor(access = AccessLevel.PRIVATE)
public class SqlParserFactory extends AbstractPluginFactory {
    @Override
    protected Class getPluginClass() {
        return LiquibaseSqlParser.class;
    }

    @Override
    protected int getPriority(LiquibaseSqlParser obj, Object... args) {
        return obj.getPriority();
    }

    public LiquibaseSqlParser getSqlParser() {
        return getPlugin();
    }

    public void unregister(LiquibaseSqlParser liquibaseSqlParser) {
        removeInstance(liquibaseSqlParser);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy