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()
IPluginDefaultLifecycleData
IPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
or the uuid of the clientgetScopeKey
in interface IPluginDefaultLifecycleData
String
uuid or IPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
public String getRuntimeKey()
IPluginDefaultLifecycleData
getRuntimeKey
in interface IPluginDefaultLifecycleData
String
the plugin-runtime-keypublic Mandant getClient()
IPluginDefaultLifecycleData
null
if it is installed in system-scopegetClient
in interface IPluginDefaultLifecycleData
Mandant
or null if the plugin is installed in system-scope
public FrontendServer getFrontendServer()
IPluginDefaultLifecycleData
null
if it is installed on an master-servergetFrontendServer
in interface IPluginDefaultLifecycleData
FrontendServer
or null if the plugin is installed in on an master-server
public Properties getProperties()
IPluginDefaultLifecycleData
getProperties
in interface IPluginDefaultLifecycleData
Properties
public IPluginFileHelper getFileHelper()
IPluginDefaultLifecycleData
getFileHelper
in interface IPluginDefaultLifecycleData
IPluginFileHelper
public IPluginResourceHelper getResourceHelper()
IPluginDefaultLifecycleData
getResourceHelper
in interface IPluginDefaultLifecycleData
IPluginResourceHelper
Copyright © 2021 XIMA MEDIA GmbH. All rights reserved.