Package org.opencms.configuration
Class CmsAdditionalLogFolderConfig
- java.lang.Object
-
- org.opencms.configuration.CmsAdditionalLogFolderConfig
-
- All Implemented Interfaces:
I_CmsConfigurationParameterHandler
public class CmsAdditionalLogFolderConfig extends java.lang.Object implements I_CmsConfigurationParameterHandler
Bean containing additional log folders available for the log file viewer.
-
-
Field Summary
Fields Modifier and Type Field Description static CmsElementWithSubElementsParamConfigHelperADD_LOG_FOLDER_HELPERThe config helper instance.static java.lang.StringN_ADDITIONAL_LOG_FOLDERSXML element name for the folder list.static java.lang.StringN_LOG_FOLDERXML element name for the individual log folder.-
Fields inherited from interface org.opencms.configuration.I_CmsConfigurationParameterHandler
ADD_PARAMETER_METHOD, INIT_CONFIGURATION_METHOD
-
-
Constructor Summary
Constructors Constructor Description CmsAdditionalLogFolderConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)Adds a configuration parameter to this parameter configurable class instance.CmsParameterConfigurationgetConfiguration()Returns the parameters of this configurable class instance, ornullif the class does not need any parameters.java.util.List<java.lang.String>getLogFolders()Gets the log folders.voidinitConfiguration()Initializes a configuration after all parameters have been added.
-
-
-
Field Detail
-
N_ADDITIONAL_LOG_FOLDERS
public static final java.lang.String N_ADDITIONAL_LOG_FOLDERS
XML element name for the folder list.- See Also:
- Constant Field Values
-
N_LOG_FOLDER
public static final java.lang.String N_LOG_FOLDER
XML element name for the individual log folder.- See Also:
- Constant Field Values
-
ADD_LOG_FOLDER_HELPER
public static CmsElementWithSubElementsParamConfigHelper ADD_LOG_FOLDER_HELPER
The config helper instance.
-
-
Constructor Detail
-
CmsAdditionalLogFolderConfig
public CmsAdditionalLogFolderConfig()
-
-
Method Detail
-
addConfigurationParameter
public void addConfigurationParameter(java.lang.String paramName, java.lang.String paramValue)
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:
I_CmsConfigurationParameterHandler.addConfigurationParameter(java.lang.String, java.lang.String)
-
getConfiguration
public CmsParameterConfiguration 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:
I_CmsConfigurationParameterHandler.getConfiguration()
-
getLogFolders
public java.util.List<java.lang.String> getLogFolders()
Gets the log folders.- Returns:
- the log folders
-
initConfiguration
public void initConfiguration()
Description copied from interface:I_CmsConfigurationParameterHandlerInitializes a configuration after all parameters have been added.- Specified by:
initConfigurationin interfaceI_CmsConfigurationParameterHandler- See Also:
I_CmsConfigurationParameterHandler.initConfiguration()
-
-