Interface DebugMessagesConfig

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject
    All Known Subinterfaces:
    Config, State

    @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 Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
        YANG identifier of the statement represented by this class.
    • Method Detail

      • implementedInterface

        Class<? extends DebugMessagesConfig> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getService

        Class<? extends DEBUGSERVICE> getService()
        Return service, or null if 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, or null if 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, or null if it is not present.
             
                 Enable and disable debugging.
             
         
        Returns:
        Boolean enabled, or null if it is not present.
      • requireEnabled

        default @NonNull Boolean requireEnabled()
        Return enabled, guaranteed to be non-null.
             
                 Enable and disable debugging.
             
         
        Returns:
        Boolean enabled, guaranteed to be non-null.
        Throws:
        NoSuchElementException - if enabled is not present