All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<InstructionStatusChanged>, org.opendaylight.yangtools.binding.BaseNotification, org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.DataObject, org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged>, org.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>, org.opendaylight.yangtools.binding.Notification<InstructionStatusChanged>, org.opendaylight.yangtools.binding.ParentObject<InstructionStatusChanged>

@Generated("mdsal-binding-generator") public interface InstructionStatusChanged extends org.opendaylight.yangtools.binding.Notification<InstructionStatusChanged>

This class represents the following YANG schema fragment defined in module programming

 notification instruction-status-changed {
   leaf id {
     type instruction-id;
   }
   leaf status {
     type instruction-status;
   }
   container details {
     leaf-list unmet-dependencies {
       when "../../status = cancelled";
       type instruction-id;
     }
   }
 }
 

To create instances of this class use InstructionStatusChangedBuilder.

See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    The YANG identifier of the notification statement represented by this interface.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return details, or null if it is not present.
    Return id, or null if it is not present.
    Return status, or null if it is not present.
     
    default boolean
     
    default int
     
    default String
     
    @NonNull Details
    Return details, or an empty instance if it is not present.
    default @NonNull InstructionId
    Return id, guaranteed to be non-null.
    default @NonNull InstructionStatus
    Return status, guaranteed to be non-null.

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

    augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations

    Methods inherited from interface org.opendaylight.yangtools.binding.lib.JavaContract

    equals, hashCode, toString
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      The YANG identifier of the notification statement represented by this interface.
  • Method Details

    • getId

      InstructionId getId()
      Return id, or null if it is not present.
           
               Instruction identifier.
           
       
      Returns:
      InstructionId id, or null if it is not present.
    • requireId

      default @NonNull InstructionId requireId()
      Return id, guaranteed to be non-null.
           
               Instruction identifier.
           
       
      Returns:
      InstructionId id, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if id is not present
    • getStatus

      InstructionStatus getStatus()
      Return status, or null if it is not present.
           
               New status of the instruction.
           
       
      Returns:
      InstructionStatus status, or null if it is not present.
    • requireStatus

      default @NonNull InstructionStatus requireStatus()
      Return status, guaranteed to be non-null.
           
               New status of the instruction.
           
       
      Returns:
      InstructionStatus status, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if status is not present
    • getDetails

      Details getDetails()
      Return details, or null if it is not present.
           
               More details about the instruction state.
           
       
      Returns:
      Details details, or null if it is not present.
    • nonnullDetails

      @NonNull Details nonnullDetails()
      Return details, or an empty instance if it is not present.
           
               More details about the instruction state.
           
       
      Returns:
      Details details, or an empty instance if it is not present.
    • implementedInterface

      default Class<InstructionStatusChanged> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.DataObject
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.lib.ImplementedInterface<org.opendaylight.yangtools.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.binding.ParentObject<InstructionStatusChanged>
    • javaHC

      default int javaHC()
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged>
      Specified by:
      javaHC in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>
    • javaEQ

      default boolean javaEQ(InstructionStatusChanged obj)
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged>
      Specified by:
      javaEQ in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>
    • javaTS

      default String javaTS()
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaContract<org.opendaylight.yangtools.binding.DataContainer,InstructionStatusChanged>
      Specified by:
      javaTS in interface org.opendaylight.yangtools.binding.lib.JavaDataContainer<InstructionStatusChanged>