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 SummaryFields inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleDataSYSTEM_SCOPE_KEY
- 
Constructor SummaryConstructorsConstructorDescriptionDefaultPluginValidationData(PluginRuntime runtime, Properties properties, Locale locale) Creates a new plugin validation data instance with the given data.
- 
Method SummaryModifier and TypeMethodDescriptionGets the locale for the validation check.Returns the properties of the pluginMethods inherited from class de.xima.fc.plugin.lifecycle.DefaultPluginLifecycleDatagetClient, getFileHelper, getFrontendServer, getManifest, getResourceHelper, getRuntimeKey, getScopeKeyMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.xima.fc.interfaces.plugin.lifecycle.IPluginDefaultLifecycleDatagetClient, getFileHelper, getFrontendServer, getManifest, getResourceHelper, getRuntimeKey, getScopeKey
- 
Constructor Details- 
DefaultPluginValidationDataCreates 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- 
getPropertiesDescription copied from interface:IPluginDefaultLifecycleDataReturns the properties of the plugin- Specified by:
- getPropertiesin interface- IPluginDefaultLifecycleData
- Specified by:
- getPropertiesin interface- IPluginValidationData
- Overrides:
- getPropertiesin class- DefaultPluginLifecycleData
- Returns:
- Properties
 
- 
getLocaleDescription 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 interface- IPluginValidationData
- Returns:
- The locale for locale-sensitive validation operations.
 
 
-