public class DefaultPluginLifecycleData extends Object implements IPluginInitializeData, IPluginInitializeBeanData, IPluginShutdownData, IPluginInstallData, IPluginUninstallData
SYSTEM_SCOPE_KEY| Constructor and Description |
|---|
DefaultPluginLifecycleData(PluginRuntime runtime) |
| Modifier and Type | Method and Description |
|---|---|
Mandant |
getClient()
Gets the client where the plugin is installed or
null if it is installed in system-scope |
IPluginFileHelper |
getFileHelper()
Gets the helper-class for working with plugin-files
|
FrontendServer |
getFrontendServer()
Gets the frontend-server where the plugin is installed or
null if it is installed on an master-server |
Properties |
getProperties()
Returns the properties of the plugin
|
IPluginResourceHelper |
getResourceHelper()
Gets the helper-class for working with resources
|
String |
getRuntimeKey()
Returns the plugin-runtime-key
|
String |
getScopeKey()
Returns the plugin scope-key: Could be the
IPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY or the uuid of the client |
public DefaultPluginLifecycleData(PluginRuntime runtime)
public String getScopeKey()
IPluginDefaultLifecycleDataIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY or the uuid of the clientgetScopeKey in interface IPluginDefaultLifecycleDataString uuid or IPluginDefaultLifecycleData.SYSTEM_SCOPE_KEYpublic String getRuntimeKey()
IPluginDefaultLifecycleDatagetRuntimeKey in interface IPluginDefaultLifecycleDataString the plugin-runtime-keypublic Mandant getClient()
IPluginDefaultLifecycleDatanull if it is installed in system-scopegetClient in interface IPluginDefaultLifecycleDataMandant or null if the plugin is installed in system-scopepublic FrontendServer getFrontendServer()
IPluginDefaultLifecycleDatanull if it is installed on an master-servergetFrontendServer in interface IPluginDefaultLifecycleDataFrontendServer or null if the plugin is installed in on an master-serverpublic Properties getProperties()
IPluginDefaultLifecycleDatagetProperties in interface IPluginDefaultLifecycleDataPropertiespublic IPluginFileHelper getFileHelper()
IPluginDefaultLifecycleDatagetFileHelper in interface IPluginDefaultLifecycleDataIPluginFileHelperpublic IPluginResourceHelper getResourceHelper()
IPluginDefaultLifecycleDatagetResourceHelper in interface IPluginDefaultLifecycleDataIPluginResourceHelperCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.