Interface InstructionQueue

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

    public interface InstructionQueue
    extends org.opendaylight.yangtools.yang.binding.DataObject
    The bare minimum run-time information which should be exposed by an implementation of the instruction scheduler defined in this model

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

     grouping instruction-queue {
       leaf instruction-queue-id {
         type string;
       }
       list instruction {
         config false;
         leaf id {
           type instruction-id;
         }
         key id;
         leaf status {
           type instruction-status;
         }
         leaf deadline {
           type nanotime;
         }
       }
     }
     
    The schema path to identify an instance is programming/instruction-queue
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

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

        @Nullable String getInstructionQueueId()
        Returns:
        java.lang.String instructionQueueId, or null if not present
      • getInstruction

        @Nullable List<Instruction> getInstruction()
        List of all instructions known to the scheduler.
        Returns:
        java.util.List instruction, or null if not present
      • nonnullInstruction

        default @NonNull List<Instruction> nonnullInstruction()
        Returns:
        java.util.List instruction, or an empty list if it is not present