Interface DebugMessagesConfig
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,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;
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn enabled, ornullif it is not present.Return service, ornullif it is not present.Class<? extends DebugMessagesConfig>default @NonNull BooleanReturn enabled, guaranteed to be non-null.default @NonNull DEBUGSERVICEReturn service, guaranteed to be non-null.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends DebugMessagesConfig> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getService
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:
DEBUGSERVICEservice, ornullif it is not present.
-
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:
DEBUGSERVICEservice, 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
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
-