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, ornullif it is not present.getId()Return id, ornullif it is not present.@Nullable Set<InstructionId> Return preconditions, ornullif it is not present.default @NonNull NanotimeReturn deadline, guaranteed to be non-null.default @NonNull InstructionIdReturn 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, ornullif it is not present.- Returns:
InstructionIdid, ornullif it is not present.
-
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
Return deadline, guaranteed to be non-null.- Returns:
Nanotimedeadline, guaranteed to be non-null.- Throws:
NoSuchElementException- if deadline is not present
-
getPreconditions
@Nullable Set<InstructionId> getPreconditions()Return preconditions, ornullif it is not present.- Returns:
Set<InstructionId>preconditions, ornullif 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
-