Class CmsChangeLogLevelAction

    • Field Detail

      • m_logLevel

        protected org.apache.logging.log4j.Level m_logLevel
        The actual log level of this row.
    • Constructor Detail

      • CmsChangeLogLevelAction

        public CmsChangeLogLevelAction​(java.lang.String id,
                                       org.apache.logging.log4j.Level level)
        Constructor so generate an instance.

        Parameters:
        id - The id of the Log-channel
        level - The level of the Log-channel
      • CmsChangeLogLevelAction

        public CmsChangeLogLevelAction​(java.lang.String id,
                                       org.apache.logging.log4j.Level level,
                                       org.opencms.i18n.CmsMessageContainer helpText)
        Constructor so generate an instance.

        Parameters:
        id - Id of the Log-channel
        level - Level of the Log-channel
        helpText - Helptext of the Log-Channel
      • CmsChangeLogLevelAction

        public CmsChangeLogLevelAction​(java.lang.String id,
                                       org.apache.logging.log4j.Level level,
                                       org.opencms.i18n.CmsMessageContainer name,
                                       org.opencms.i18n.CmsMessageContainer helpText)
        Constructor so generate an instance.

        Parameters:
        id - Id of the Log-channel
        level - Level of the Log-channel
        name - Name of the Log-channel
        helpText - Helptext of the Log-Channel
    • Method Detail

      • resolveName

        protected java.lang.String resolveName​(java.util.Locale locale)
        Help method to resolve the name to use.

        Overrides:
        resolveName in class CmsListDirectAction
        Parameters:
        locale - the used locale
        Returns:
        the name
      • isEnabled

        public boolean isEnabled()
        Specified by:
        isEnabled in interface org.opencms.workplace.tools.I_CmsHtmlIconButton
        Overrides:
        isEnabled in class org.opencms.workplace.tools.A_CmsHtmlIconButton
        See Also:
        A_CmsHtmlIconButton.isEnabled()