public interface WLDFLogActionBean extends WLDFNotificationBean
Configures an action that can record a customized log record using the
WebLogic Server NonCatalogLogger
. The custom log message set via
WLDFLogActionBean.setMessage(String)
can be either a literal String or a compound EL
expression.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ALERT_TEXT |
static java.lang.String[] |
ALLOWED_LOG_SEVERITIES |
static java.lang.String |
CRITICAL_TEXT |
static java.lang.String |
DEFAULT_SEVERITY_TEXT |
static java.lang.String |
EMERGENCY_TEXT |
static java.lang.String |
ERROR_TEXT |
static java.lang.String |
INFO_TEXT |
static java.lang.String |
NOTICE_TEXT |
static java.lang.String |
WARNING_TEXT |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the customized log message for this action.
|
java.lang.String |
getSeverity()
The severity of the log message recorded by this action.
|
java.lang.String |
getSubsystemName()
Returns the customized log message for this action.
|
void |
setMessage(java.lang.String messageBody)
Sets the log message body for this action.
|
void |
setSeverity(java.lang.String level)
Sets the severity for the log message recorded by this action.
|
void |
setSubsystemName(java.lang.String messageBody)
Sets the log message body for this action.
|
getTimeout, isEnabled, setEnabled, setTimeout
static final java.lang.String ALERT_TEXT
static final java.lang.String CRITICAL_TEXT
static final java.lang.String EMERGENCY_TEXT
static final java.lang.String ERROR_TEXT
static final java.lang.String WARNING_TEXT
static final java.lang.String INFO_TEXT
static final java.lang.String NOTICE_TEXT
static final java.lang.String DEFAULT_SEVERITY_TEXT
static final java.lang.String[] ALLOWED_LOG_SEVERITIES
java.lang.String getSeverity()
The severity of the log message recorded by this action.
default weblogic.i18n.logging.Severities.NOTICE_TEXT legalValues weblogic.i18n.logging.Severities.INFO_TEXT, weblogic.i18n.logging.Severities.WARNING_TEXT, weblogic.i18n.logging.Severities.ERROR_TEXT, weblogic.i18n.logging.Severities.NOTICE_TEXT, weblogic.i18n.logging.Severities.CRITICAL_TEXT, weblogic.i18n.logging.Severities.ALERT_TEXT, weblogic.i18n.logging.Severities.EMERGENCY_TEXTvoid setSeverity(java.lang.String level)
Sets the severity for the log message recorded by this action.
java.lang.String getMessage()
Returns the customized log message for this action.
WLDFLogActionBean.setMessage(String)
void setMessage(java.lang.String messageBody)
Sets the log message body for this action.
The log message can be either a literal String or a compound EL expression, with the following variables available for use in the message:
Variables can be referenced in the message body using the syntax
${var-name}
For example:
"The policy ${WatchName} has triggered at ${WatchTime} on server ${WatchServerName}"
messageBody
- The customized log message bodyjava.lang.String getSubsystemName()
Returns the customized log message for this action.
void setSubsystemName(java.lang.String messageBody)
Sets the log message body for this action.
messageBody
- The customized log message body