Interface SubmitInstructionInput
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
BaseTunnelInput,CreateP2pTunnelInput,CreateTunnelInput,DestroyTunnelInput,PcepCreateP2pTunnelInput,PcepDestroyTunnelInput,PcepUpdateTunnelInput,SubmitAddLspInput,SubmitEnsureLspOperationalInput,SubmitRemoveLspInput,SubmitTriggerSyncInput,SubmitUpdateLspInput,TopologyInstructionInput
@Generated("mdsal-binding-generator") public interface SubmitInstructionInput extends org.opendaylight.yangtools.yang.binding.DataObject
Minimum required arguments needed for submitting an instruction into the scheduler. This grouping needs to be used by concrete RPC definitions which are routed to the scheduler.This class represents the following YANG schema fragment defined in module programming
grouping submit-instruction-input { leaf id { type instruction-id; } leaf deadline { type nanotime; } leaf-list preconditions { type instruction-id; } }The schema path to identify an instance is programmingsubmit-instruction-input
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QNameQNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NanotimegetDeadline()Return deadline, ornullif it is not present.InstructionIdgetId()Return id, ornullif it is not present.@Nullable List<InstructionId>getPreconditions()Return preconditions, ornullif it is not present.Class<? extends SubmitInstructionInput>implementedInterface()default @NonNull NanotimerequireDeadline()Return deadline, guaranteed to be non-null.default @NonNull InstructionIdrequireId()Return id, guaranteed to be non-null.default @NonNull List<InstructionId>requirePreconditions()Return preconditions, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends SubmitInstructionInput> implementedInterface()
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataContainer- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getId
InstructionId getId()
Return id, ornullif it is not present.- Returns:
InstructionIdid, ornullif it is not present.
-
requireId
default @NonNull InstructionId requireId()
Return id, guaranteed to be non-null.- Returns:
InstructionIdid, guaranteed to be non-null.- Throws:
NoSuchElementException- if id is not present
-
getDeadline
Nanotime getDeadline()
Return deadline, ornullif it is not present.- Returns:
Nanotimedeadline, ornullif it is not present.
-
requireDeadline
default @NonNull Nanotime requireDeadline()
Return deadline, guaranteed to be non-null.- Returns:
Nanotimedeadline, guaranteed to be non-null.- Throws:
NoSuchElementException- if deadline is not present
-
getPreconditions
@Nullable List<InstructionId> getPreconditions()
Return preconditions, ornullif it is not present.- Returns:
List<InstructionId>preconditions, ornullif it is not present.
-
requirePreconditions
default @NonNull List<InstructionId> requirePreconditions()
Return preconditions, guaranteed to be non-null.- Returns:
List<InstructionId>preconditions, guaranteed to be non-null.- Throws:
NoSuchElementException- if preconditions is not present
-
-