Interface InstructionList
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
,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; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescription@Nullable Map<InstructionKey,
Instruction> Return instruction, ornull
if it is not present.Class<? extends InstructionList>
default @NonNull Map<InstructionKey,
Instruction> Return instruction, or an empty list if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends InstructionList> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getInstruction
@Nullable Map<InstructionKey,Instruction> getInstruction()Return instruction, ornull
if it is not present.- Returns:
Map<InstructionKey, Instruction>
instruction, ornull
if it is not present.
-
nonnullInstruction
Return instruction, or an empty list if it is not present.- Returns:
Map<InstructionKey, Instruction>
instruction, or an empty list if it is not present.
-