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

org.ligoj.app.api.ConfigurablePlugin Maven / Gradle / Ivy

There is a newer version: 4.1.10
Show newest version
/*
 * 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