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/instructionTo create instances of this class use
InstructionBuilder
.- See Also:
InstructionBuilder
,InstructionKey
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable Nanotime
getDeadline()
@Nullable InstructionId
getId()
@Nullable InstructionStatus
getStatus()
default Class<Instruction>
implementedInterface()
InstructionKey
key()
-
-
-
Method Detail
-
implementedInterface
default Class<Instruction> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.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
, ornull
if not present
-
getStatus
@Nullable InstructionStatus getStatus()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.InstructionStatus
status
, ornull
if not present
-
getDeadline
@Nullable Nanotime getDeadline()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.programming.rev150720.Nanotime
deadline
, ornull
if not present
-
key
InstructionKey key()
- Specified by:
key
in interfaceorg.opendaylight.yangtools.yang.binding.Identifiable<InstructionKey>
-
-