Class DefaultPluginLifecycleData
java.lang.Object
de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleData
- All Implemented Interfaces:
IPluginDefaultLifecycleData, IPluginInitializeBeanData, IPluginInitializeData, IPluginInstallData, IPluginShutdownData, IPluginUninstallData
- Direct Known Subclasses:
DefaultPluginValidationData
public class DefaultPluginLifecycleData
extends Object
implements IPluginInitializeData, IPluginInitializeBeanData, IPluginShutdownData, IPluginInstallData, IPluginUninstallData
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from interface IPluginDefaultLifecycleData
SYSTEM_SCOPE_KEY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the client where the plugin is installed ornullif it is installed in system scope.Gets the helper-class for working with plugin-filesGets the frontend-server where the plugin is installed ornullif it is installed on an master-serverGets the manifest of the plugin.Gets the plugin file key of the plugin file.Gets the plugin key of the plugin.Returns the properties of the pluginGets the helper-class for working with resourcesReturns the plugin-runtime-keyReturns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEYor the uuid of the client
-
Constructor Details
-
DefaultPluginLifecycleData
-
-
Method Details
-
getScopeKey
Description copied from interface:IPluginDefaultLifecycleDataReturns the plugin scope-key: Could be theIPluginDefaultLifecycleData.SYSTEM_SCOPE_KEYor the uuid of the client- Specified by:
getScopeKeyin interfaceIPluginDefaultLifecycleData- Returns:
- Client UUID or
IPluginDefaultLifecycleData.SYSTEM_SCOPE_KEY
-
getManifest
Description copied from interface:IPluginDefaultLifecycleDataGets the manifest of the plugin.- Specified by:
getManifestin interfaceIPluginDefaultLifecycleData- Returns:
- The manifest of the plugin.
-
getPluginKey
Description copied from interface:IPluginDefaultLifecycleDataGets the plugin key of the plugin. The key uniquely identifies the plugin. A plugin may consist of multiple JAR files. In that case, each JAR file has a differentIPluginDefaultLifecycleData.getPluginFileKey().- Specified by:
getPluginKeyin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin key.
-
getPluginFileKey
Description copied from interface:IPluginDefaultLifecycleDataGets the plugin file key of the plugin file. The key uniquely identifies the plugin JAR file. A plugin may consist of multiple JAR files. In that case, each JAR file has a different plugin file key, but the sameIPluginDefaultLifecycleData.getPluginKey(). If a plugin only has one JAR file, the file key is usually empty.- Specified by:
getPluginFileKeyin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin file key.
-
getRuntimeKey
Description copied from interface:IPluginDefaultLifecycleDataReturns the plugin-runtime-key- Specified by:
getRuntimeKeyin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin-runtime-key
-
getClient
Description copied from interface:IPluginDefaultLifecycleDataGets the client where the plugin is installed ornullif it is installed in system scope.- Specified by:
getClientin interfaceIPluginDefaultLifecycleData- Returns:
- The
clientornullif the plugin is installed in system scope.
-
getFrontendServer
Description copied from interface:IPluginDefaultLifecycleDataGets the frontend-server where the plugin is installed ornullif it is installed on an master-server- Specified by:
getFrontendServerin interfaceIPluginDefaultLifecycleData- Returns:
- The frontend server, or
nullif the plugin is installed in on an master-server
-
getProperties
Description copied from interface:IPluginDefaultLifecycleDataReturns the properties of the plugin- Specified by:
getPropertiesin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin properties.
-
getFileHelper
Description copied from interface:IPluginDefaultLifecycleDataGets the helper-class for working with plugin-files- Specified by:
getFileHelperin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin file helper
-
getResourceHelper
Description copied from interface:IPluginDefaultLifecycleDataGets the helper-class for working with resources- Specified by:
getResourceHelperin interfaceIPluginDefaultLifecycleData- Returns:
- The plugin resource helper.
-