Interface DebugMessagesConfig
-
- 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 DebugMessagesConfig extends org.opendaylight.yangtools.yang.binding.DataObject
Configuration data for enabling debug messages.This class represents the following YANG schema fragment defined in module openconfig-messages
grouping debug-messages-config { leaf service { type identityref { base DEBUG_SERVICE; } } leaf enabled { type boolean; default false; } }The schema path to identify an instance is openconfig-messagesdebug-messages-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 BooleangetEnabled()Return enabled, ornullif it is not present.Class<? extends DEBUGSERVICE>getService()Return service, ornullif it is not present.Class<? extends DebugMessagesConfig>implementedInterface()default @NonNull BooleanrequireEnabled()Return enabled, guaranteed to be non-null.default @NonNull Class<? extends DEBUGSERVICE>requireService()Return service, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends DebugMessagesConfig> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getService
Class<? extends DEBUGSERVICE> getService()
Return service, ornullif it is not present.Enumeration of all services which can have debugging enabled. Vendors are to augment this base identity with their platform or OS specific debug options.- Returns:
Class<? extends DEBUGSERVICE>service, ornullif it is not present.
-
requireService
default @NonNull Class<? extends DEBUGSERVICE> requireService()
Return service, guaranteed to be non-null.Enumeration of all services which can have debugging enabled. Vendors are to augment this base identity with their platform or OS specific debug options.- Returns:
Class<? extends DEBUGSERVICE>service, guaranteed to be non-null.- Throws:
NoSuchElementException- if service is not present
-
getEnabled
Boolean getEnabled()
Return enabled, ornullif it is not present.Enable and disable debugging.- Returns:
Booleanenabled, ornullif it is not present.
-
requireEnabled
default @NonNull Boolean requireEnabled()
Return enabled, guaranteed to be non-null.Enable and disable debugging.- Returns:
Booleanenabled, guaranteed to be non-null.- Throws:
NoSuchElementException- if enabled is not present
-
-