com.katalon.platform.api.Extension Maven / Gradle / Ivy
package com.katalon.platform.api;
/**
* Represent for a correct Extension of a installed Plugin.
*
* An extension is declared in src/main/resources/plugin.xml
file, with this sample format:
*
*
* {@code
*
*
*
*
* }
*
*
* @since 1.0.4
*/
public interface Extension {
/**
* Id of the plugin that owns the extension
*
* @return plugin id of the extension
*
* @since 1.0.4
*/
String getPluginId();
/**
* Id of the extension
*
* @return id of the extension
*
* @since 1.0.4
*/
String getExtensionId();
/**
* Id of the extension point
*
* @return id of the extension point
*
* @since 1.0.4
*/
String getExtensionPointId();
/**
* An instance of implementation class that implements the interface that was declared in extension point.
*
* The instance is automatically initialized by KS after the plugin that owns the extension loaded.
*
* Clients should NOT override default constructor of the implementation class.
*
* @return an implementation of the interface class that was declared in extension point
*
* @since 1.0.4
*/
Object getImplementationClass();
}