![JAR search and dependency download from the Maven repository](/logo.png)
org.ligoj.app.api.ConfigurablePlugin Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of plugin-api Show documentation
Show all versions of plugin-api Show documentation
Plugin API definition and compatibility following semver
/*
* Licensed under MIT (https://github.com/ligoj/ligoj/blob/master/LICENSE)
*/
package org.ligoj.app.api;
/**
* A configurable plug-in manage some extra configuration.
*/
@FunctionalInterface
public interface ConfigurablePlugin {
/**
* Return the configuration of given subscription.
*
* @param subscription the subscription attached to a configurable service or tool.
* @return the configuration of given subscription.
* @throws Exception Configuration build failed. This error is caught at higher level.
*/
Object getConfiguration(int subscription) throws Exception; // NOSONAR Every thing could happen
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy