liquibase.plugin.Plugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
The newest version!
package liquibase.plugin;
import liquibase.servicelocator.PrioritizedService;
/**
* Interface for objects designed to be pluggable in Liquibase.
* Implementations of this class should be looked up via factories rather than instantiated directly to support the extension system.
*
* The normal pattern for plugins is for {@link PluginFactory} implementations to return them.
*/
public interface Plugin {
/**
* Value to return from priority functions when the plugin is not applicable.
*/
int PRIORITY_NOT_APPLICABLE = -1;
/**
* Value to return from priority functions when the plugin is the standard implementation.
*/
int PRIORITY_DEFAULT = PrioritizedService.PRIORITY_DEFAULT;
/**
* Value to return from priority functions when the plugin is a specialized, non-default implementation.
*/
int PRIORITY_SPECIALIZED = 10;
int PRIORITY_DATABASE = PrioritizedService.PRIORITY_DATABASE;
}