Interface SubmitInstructionInput
- 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:
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; } }
-
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 TypeMethodDescriptionReturn deadline, ornull
if it is not present.getId()
Return id, ornull
if it is not present.@Nullable Set<InstructionId>
Return preconditions, ornull
if it is not present.Class<? extends SubmitInstructionInput>
default @NonNull Nanotime
Return deadline, guaranteed to be non-null.default @NonNull InstructionId
Return id, guaranteed to be non-null.default @NonNull Set<InstructionId>
Return preconditions, guaranteed to be non-null.
-
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 SubmitInstructionInput> 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
-
getId
InstructionId getId()Return id, ornull
if it is not present.- Returns:
InstructionId
id, ornull
if it is not present.
-
requireId
Return id, guaranteed to be non-null.- Returns:
InstructionId
id, guaranteed to be non-null.- Throws:
NoSuchElementException
- if id is not present
-
getDeadline
Nanotime getDeadline()Return deadline, ornull
if it is not present.- Returns:
Nanotime
deadline, ornull
if it is not present.
-
requireDeadline
Return deadline, guaranteed to be non-null.- Returns:
Nanotime
deadline, guaranteed to be non-null.- Throws:
NoSuchElementException
- if deadline is not present
-
getPreconditions
@Nullable Set<InstructionId> getPreconditions()Return preconditions, ornull
if it is not present.- Returns:
Set<InstructionId>
preconditions, ornull
if it is not present.
-
requirePreconditions
Return preconditions, guaranteed to be non-null.- Returns:
Set<InstructionId>
preconditions, guaranteed to be non-null.- Throws:
NoSuchElementException
- if preconditions is not present
-