Interface InstructionList

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

    @Generated("mdsal-binding-generator")
    public interface InstructionList
    extends org.opendaylight.yangtools.yang.binding.DataObject

    This class represents the following YANG schema fragment defined in module opendaylight-flow-types

     grouping instruction-list {
       list instruction {
         key order;
         uses action:ordered;
         uses instruction;
       }
     }
     
    The schema path to identify an instance is opendaylight-flow-types/instruction-list
    • Field Detail

      • QNAME

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

      • implementedInterface

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

        @Nullable Map<InstructionKey,​Instruction> getInstruction()
        Return instruction, or null if it is not present.
        Returns:
        java.util.Map instruction, or null if it is not present.
      • nonnullInstruction

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