Interface SubmitInstructionInput
- All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>
,org.opendaylight.yangtools.binding.BindingObject
,org.opendaylight.yangtools.binding.DataContainer
,org.opendaylight.yangtools.binding.Grouping
- 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.binding.Grouping
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; } }
-
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.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.Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract
implementedInterface
-
Method Details
-
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
-