Package org.opencms.configuration
Class CmsStoragePolicyConfiguration
java.lang.Object
org.opencms.configuration.CmsStoragePolicyConfiguration
- All Implemented Interfaces:
I_CmsConfigurationParameterHandler
public class CmsStoragePolicyConfiguration
extends Object
implements I_CmsConfigurationParameterHandler
Configuration for the VFS storage policy.
-
Field Summary
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfigurationParameter(String paramName, String paramValue) Adds a configuration parameter to this parameter configurable class instance.Returns the configured policy class name.Returns the parameters of this configurable class instance, ornullif the class does not need any parameters.voidInitializes a configuration after all parameters have been added.voidsetClassName(String className) Sets the configured policy class name.
-
Constructor Details
-
CmsStoragePolicyConfiguration
public CmsStoragePolicyConfiguration()
-
-
Method Details
-
addConfigurationParameter
Description copied from interface:I_CmsConfigurationParameterHandlerAdds a configuration parameter to this parameter configurable class instance.- Specified by:
addConfigurationParameterin interfaceI_CmsConfigurationParameterHandler- Parameters:
paramName- the name of the parameterparamValue- the value for the parameter- See Also:
-
getClassName
Returns the configured policy class name.- Returns:
- the configured policy class name
-
getConfiguration
Description copied from interface:I_CmsConfigurationParameterHandlerReturns the parameters of this configurable class instance, ornullif the class does not need any parameters.- Specified by:
getConfigurationin interfaceI_CmsConfigurationParameterHandler- Returns:
- the parameters of this configurable class instance,
or
nullif the class does not need any parameters - See Also:
-
initConfiguration
Description copied from interface:I_CmsConfigurationParameterHandlerInitializes a configuration after all parameters have been added.- Specified by:
initConfigurationin interfaceI_CmsConfigurationParameterHandler- Throws:
CmsConfigurationException- if something goes wrong- See Also:
-
setClassName
Sets the configured policy class name.- Parameters:
className- the configured policy class name
-