Interface Instruction

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<Instruction>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<InstructionQueue>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.Identifiable<InstructionKey>

    public interface Instruction
    extends org.opendaylight.yangtools.yang.binding.ChildOf<InstructionQueue>, org.opendaylight.yangtools.yang.binding.Augmentable<Instruction>, org.opendaylight.yangtools.yang.binding.Identifiable<InstructionKey>
    List of all instructions known to the scheduler.

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

     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/instruction

    To create instances of this class use InstructionBuilder.

    See Also:
    InstructionBuilder, InstructionKey
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<Instruction> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
      • getId

        @Nullable InstructionId getId()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.InstructionId id, or null if not present
      • getStatus

        @Nullable InstructionStatus getStatus()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.InstructionStatus status, or null if not present
      • getDeadline

        @Nullable Nanotime getDeadline()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.Nanotime deadline, or null if not present