Interface PageExtension
public interface PageExtension
Denotes extension to be injected to the page
- Author:
- Lukas Fryc, Jan Papousek
-
Method Summary
Modifier and TypeMethodDescriptionReturns the source code of the script to be injected to the pageReturns the source code of the script which will be executed to check whether the extension is already installed.getName()Returns the name of the script that can uniquely identify this scriptReturns a collection of extension names required by this extension
-
Method Details
-
getName
String getName()Returns the name of the script that can uniquely identify this script -
getExtensionScript
JavaScript getExtensionScript()Returns the source code of the script to be injected to the page -
getInstallationDetectionScript
JavaScript getInstallationDetectionScript()Returns the source code of the script which will be executed to check whether the extension is already installed. The script has to return boolean value. -
getRequired
Collection<String> getRequired()Returns a collection of extension names required by this extension
-