All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
StatefulCapabilitiesRpcAug, StatefulCapabilitiesStatsAug

@Generated("mdsal-binding-generator") public interface StatefulPreferences extends org.opendaylight.yangtools.binding.Grouping

This class represents the following YANG schema fragment defined in module odl-pcep-stateful-stats

 grouping stateful-preferences {
   leaf instantiation {
     type boolean;
     default false;
   }
   leaf stateful {
     type boolean;
     default false;
   }
   leaf active {
     type boolean;
     default false;
   }
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return active, or null if it is not present.
    Return instantiation, or null if it is not present.
    Return stateful, or null if it is not present.
    default @NonNull Boolean
    Return active, guaranteed to be non-null.
    default @NonNull Boolean
    Return instantiation, guaranteed to be non-null.
    default @NonNull Boolean
    Return stateful, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getInstantiation

      Boolean getInstantiation()
      Return instantiation, or null if it is not present.
           
               Represents peer's instantiation capability.
           
       
      Returns:
      Boolean instantiation, or null if it is not present.
    • requireInstantiation

      default @NonNull Boolean requireInstantiation()
      Return instantiation, guaranteed to be non-null.
           
               Represents peer's instantiation capability.
           
       
      Returns:
      Boolean instantiation, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if instantiation is not present
    • getStateful

      Boolean getStateful()
      Return stateful, or null if it is not present.
           
               Represents peer's stateful/stateless capability.
           
       
      Returns:
      Boolean stateful, or null if it is not present.
    • requireStateful

      default @NonNull Boolean requireStateful()
      Return stateful, guaranteed to be non-null.
           
               Represents peer's stateful/stateless capability.
           
       
      Returns:
      Boolean stateful, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if stateful is not present
    • getActive

      Boolean getActive()
      Return active, or null if it is not present.
           
               Represents peer's LSP update capability.
           
       
      Returns:
      Boolean active, or null if it is not present.
    • requireActive

      default @NonNull Boolean requireActive()
      Return active, guaranteed to be non-null.
           
               Represents peer's LSP update capability.
           
       
      Returns:
      Boolean active, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if active is not present