Package de.xima.fc.plugin.lifecycle
Class DefaultPluginLifecycleData
- java.lang.Object
-
- de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleData
-
- All Implemented Interfaces:
IPluginDefaultLifecycleData
,IPluginInitializeBeanData
,IPluginInitializeData
,IPluginInstallData
,IPluginShutdownData
,IPluginUninstallData
public class DefaultPluginLifecycleData extends Object implements IPluginInitializeData, IPluginInitializeBeanData, IPluginShutdownData, IPluginInstallData, IPluginUninstallData
- Author:
- XIMA MEDIA GmbH
-
-
Field Summary
-
Fields inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleData
SYSTEM_SCOPE_KEY
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginLifecycleData(PluginRuntime runtime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Mandant
getClient()
Gets the client where the plugin is installed ornull
if it is installed in system-scopeIPluginFileHelper
getFileHelper()
Gets the helper-class for working with plugin-filesFrontendServer
getFrontendServer()
Gets the frontend-server where the plugin is installed ornull
if it is installed on an master-serverProperties
getProperties()
Returns the properties of the pluginIPluginResourceHelper
getResourceHelper()
Gets the helper-class for working with resourcesString
getRuntimeKey()
Returns the plugin-runtime-keyString
getScopeKey()
Returns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
or the uuid of the client
-
-
-
Constructor Detail
-
DefaultPluginLifecycleData
public DefaultPluginLifecycleData(PluginRuntime runtime)
-
-
Method Detail
-
getScopeKey
public String getScopeKey()
Description copied from interface:IPluginDefaultLifecycleData
Returns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
or the uuid of the client- Specified by:
getScopeKey
in interfaceIPluginDefaultLifecycleData
- Returns:
String
uuid orIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
-
getRuntimeKey
public String getRuntimeKey()
Description copied from interface:IPluginDefaultLifecycleData
Returns the plugin-runtime-key- Specified by:
getRuntimeKey
in interfaceIPluginDefaultLifecycleData
- Returns:
String
the plugin-runtime-key
-
getClient
public Mandant getClient()
Description copied from interface:IPluginDefaultLifecycleData
Gets the client where the plugin is installed ornull
if it is installed in system-scope- Specified by:
getClient
in interfaceIPluginDefaultLifecycleData
- Returns:
Mandant
ornull if the plugin is installed in system-scope
-
getFrontendServer
public FrontendServer getFrontendServer()
Description copied from interface:IPluginDefaultLifecycleData
Gets the frontend-server where the plugin is installed ornull
if it is installed on an master-server- Specified by:
getFrontendServer
in interfaceIPluginDefaultLifecycleData
- Returns:
FrontendServer
ornull if the plugin is installed in on an master-server
-
getProperties
public Properties getProperties()
Description copied from interface:IPluginDefaultLifecycleData
Returns the properties of the plugin- Specified by:
getProperties
in interfaceIPluginDefaultLifecycleData
- Returns:
Properties
-
getFileHelper
public IPluginFileHelper getFileHelper()
Description copied from interface:IPluginDefaultLifecycleData
Gets the helper-class for working with plugin-files- Specified by:
getFileHelper
in interfaceIPluginDefaultLifecycleData
- Returns:
IPluginFileHelper
-
getResourceHelper
public IPluginResourceHelper getResourceHelper()
Description copied from interface:IPluginDefaultLifecycleData
Gets the helper-class for working with resources- Specified by:
getResourceHelper
in interfaceIPluginDefaultLifecycleData
- Returns:
IPluginResourceHelper
-
-