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

liquibase.plugin.Plugin Maven / Gradle / Ivy

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; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy