Interface LoggingSelectorsConfig
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
@Generated("mdsal-binding-generator") public interface LoggingSelectorsConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for logging selectorsThis class represents the following YANG schema fragment defined in module openconfig-system-logging
grouping logging-selectors-config { leaf facility { type identityref { base SYSLOG_FACILITY; } } leaf severity { type syslog-severity; } }The schema path to identify an instance is openconfig-system-logginglogging-selectors-config
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Class<? extends SYSLOGFACILITY>getFacility()Return facility, ornullif it is not present.SyslogSeveritygetSeverity()Return severity, ornullif it is not present.Class<? extends LoggingSelectorsConfig>implementedInterface()default @NonNull Class<? extends SYSLOGFACILITY>requireFacility()Return facility, guaranteed to be non-null.default @NonNull SyslogSeverityrequireSeverity()Return severity, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends LoggingSelectorsConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getFacility
Class<? extends SYSLOGFACILITY> getFacility()
Return facility, ornullif it is not present.Specifies the facility, or class of messages to log- Returns:
Class<? extends SYSLOGFACILITY>facility, ornullif it is not present.
-
requireFacility
default @NonNull Class<? extends SYSLOGFACILITY> requireFacility()
Return facility, guaranteed to be non-null.Specifies the facility, or class of messages to log- Returns:
Class<? extends SYSLOGFACILITY>facility, guaranteed to be non-null.- Throws:
NoSuchElementException- if facility is not present
-
getSeverity
SyslogSeverity getSeverity()
Return severity, ornullif it is not present.Specifies that only messages of the given severity (or greater severity) for the corresonding facility are logged- Returns:
SyslogSeverityseverity, ornullif it is not present.
-
requireSeverity
default @NonNull SyslogSeverity requireSeverity()
Return severity, guaranteed to be non-null.Specifies that only messages of the given severity (or greater severity) for the corresonding facility are logged- Returns:
SyslogSeverityseverity, guaranteed to be non-null.- Throws:
NoSuchElementException- if severity is not present
-
-