Package de.xima.fc.plugin.lifecycle
Class DefaultPluginValidationData
java.lang.Object
de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleData
de.xima.fc.plugin.lifecycle.DefaultPluginValidationData
- All Implemented Interfaces:
IPluginDefaultLifecycleData,IPluginInitializeBeanData,IPluginInitializeData,IPluginInstallData,IPluginShutdownData,IPluginUninstallData,IPluginValidationData
public final class DefaultPluginValidationData
extends DefaultPluginLifecycleData
implements IPluginValidationData
Default POJO implementation of
IPluginValidationData.- Since:
- 8.0.0
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleData
SYSTEM_SCOPE_KEY -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPluginValidationData(PluginRuntime runtime, Properties properties, Locale locale) Creates a new plugin validation data instance with the given data. -
Method Summary
Modifier and TypeMethodDescriptionGets the locale for the validation check.Returns the properties of the pluginMethods inherited from class de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleData
getClient, getFileHelper, getFrontendServer, getManifest, getResourceHelper, getRuntimeKey, getScopeKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleData
getClient, getFileHelper, getFrontendServer, getManifest, getResourceHelper, getRuntimeKey, getScopeKey
-
Constructor Details
-
DefaultPluginValidationData
Creates a new plugin validation data instance with the given data.- Parameters:
runtime- Runtime of the plugin, usually a temporary runtime as the plugin should not be put into service if validation fails.properties- Current set of properties representing the configuration of the plugin.locale- Current locale for locale-sensitive operations, such as for constructing localized error messages.
-
-
Method Details
-
getProperties
Description copied from interface:IPluginDefaultLifecycleDataReturns the properties of the plugin- Specified by:
getPropertiesin interfaceIPluginDefaultLifecycleData- Specified by:
getPropertiesin interfaceIPluginValidationData- Overrides:
getPropertiesin classDefaultPluginLifecycleData- Returns:
Properties
-
getLocale
Description copied from interface:IPluginValidationDataGets the locale for the validation check. The locale may be used e.g. to generated localized error messages.- Specified by:
getLocalein interfaceIPluginValidationData- Returns:
- The locale for locale-sensitive validation operations.
-