Interface StartTestOutput
- All Superinterfaces:
org.opendaylight.yangtools.binding.Augmentable<StartTestOutput>,org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>,org.opendaylight.yangtools.binding.BindingObject,org.opendaylight.yangtools.binding.DataContainer,org.opendaylight.yangtools.binding.DataObject,org.opendaylight.yangtools.binding.RpcOutput
@Generated("mdsal-binding-generator")
public interface StartTestOutput
extends org.opendaylight.yangtools.binding.RpcOutput, org.opendaylight.yangtools.binding.Augmentable<StartTestOutput>
This class represents the following YANG schema fragment defined in module dsbenchmark
output output {
leaf status {
type enumeration {
enum OK {
value 1;
}
enum FAILED {
value 2;
}
enum TEST-IN-PROGRESS {
value 3;
}
}
}
leaf listBuildTime {
type int64;
units microseconds;
}
leaf execTime {
type int64;
units microseconds;
}
leaf txOk {
type uint32;
}
leaf txError {
type uint32;
}
leaf ntfOk {
type uint32;
}
leaf dataChangeEventsOk {
type uint32;
}
}
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThis class represents the following YANG schema fragment defined in module dsbenchmark -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanbindingEquals(@NonNull StartTestOutput thisObj, Object obj) Default implementation ofObject.equals(Object)contract for this interface.static intbindingHashCode(@NonNull StartTestOutput obj) Default implementation ofObject.hashCode()contract for this interface.static StringbindingToString(@NonNull StartTestOutput obj) Default implementation ofObject.toString()contract for this interface.org.opendaylight.yangtools.yang.common.Uint32Return dataChangeEventsOk, ornullif it is not present.Return execTime, ornullif it is not present.Return listBuildTime, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getNtfOk()Return ntfOk, ornullif it is not present.Return status, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32Return txError, ornullif it is not present.org.opendaylight.yangtools.yang.common.Uint32getTxOk()Return txOk, ornullif it is not present.default Class<StartTestOutput> default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return dataChangeEventsOk, guaranteed to be non-null.default @NonNull LongReturn execTime, guaranteed to be non-null.default @NonNull LongReturn listBuildTime, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return ntfOk, guaranteed to be non-null.default @NonNull StartTestOutput.StatusReturn status, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return txError, guaranteed to be non-null.default @NonNull org.opendaylight.yangtools.yang.common.Uint32Return txOk, guaranteed to be non-null.Methods inherited from interface org.opendaylight.yangtools.binding.Augmentable
augmentation, augmentationOrElseThrow, augmentationOrElseThrow, augmentations
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.DataObject- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.binding.RpcOutput
-
bindingHashCode
Default implementation ofObject.hashCode()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent hashing results across all implementations.- Parameters:
obj- Object for which to generate hashCode() result.- Returns:
- Hash code value of data modeled by this interface.
- Throws:
NullPointerException- ifobjisnull
-
bindingEquals
Default implementation ofObject.equals(Object)contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent equality results across all implementations.- Parameters:
thisObj- Object acting as the receiver of equals invocationobj- Object acting as argument to equals invocation- Returns:
- True if thisObj and obj are considered equal
- Throws:
NullPointerException- ifthisObjisnull
-
bindingToString
Default implementation ofObject.toString()contract for this interface. Implementations of this interface are encouraged to defer to this method to get consistent string representations across all implementations.- Parameters:
obj- Object for which to generate toString() result.- Returns:
Stringvalue of data modeled by this interface.- Throws:
NullPointerException- ifobjisnull
-
getStatus
StartTestOutput.Status getStatus()Return status, ornullif it is not present.Indicates whether the test finished successfuly- Returns:
Statusstatus, ornullif it is not present.
-
requireStatus
Return status, guaranteed to be non-null.Indicates whether the test finished successfuly- Returns:
Statusstatus, guaranteed to be non-null.- Throws:
NoSuchElementException- if status is not present
-
getListBuildTime
Long getListBuildTime()Return listBuildTime, ornullif it is not present.The time it took to build the list of lists- Returns:
LonglistBuildTime, ornullif it is not present.
-
requireListBuildTime
Return listBuildTime, guaranteed to be non-null.The time it took to build the list of lists- Returns:
LonglistBuildTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if listBuildTime is not present
-
getExecTime
Long getExecTime()Return execTime, ornullif it is not present.The time it took to execute all transactions- Returns:
LongexecTime, ornullif it is not present.
-
requireExecTime
Return execTime, guaranteed to be non-null.The time it took to execute all transactions- Returns:
LongexecTime, guaranteed to be non-null.- Throws:
NoSuchElementException- if execTime is not present
-
getTxOk
org.opendaylight.yangtools.yang.common.Uint32 getTxOk()Return txOk, ornullif it is not present.The number of successful transactions- Returns:
Uint32txOk, ornullif it is not present.
-
requireTxOk
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTxOk()Return txOk, guaranteed to be non-null.The number of successful transactions- Returns:
Uint32txOk, guaranteed to be non-null.- Throws:
NoSuchElementException- if txOk is not present
-
getTxError
org.opendaylight.yangtools.yang.common.Uint32 getTxError()Return txError, ornullif it is not present.The number of failed transactions- Returns:
Uint32txError, ornullif it is not present.
-
requireTxError
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireTxError()Return txError, guaranteed to be non-null.The number of failed transactions- Returns:
Uint32txError, guaranteed to be non-null.- Throws:
NoSuchElementException- if txError is not present
-
getNtfOk
org.opendaylight.yangtools.yang.common.Uint32 getNtfOk()Return ntfOk, ornullif it is not present.The number of successfully received data tree change notifications- Returns:
Uint32ntfOk, ornullif it is not present.
-
requireNtfOk
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireNtfOk()Return ntfOk, guaranteed to be non-null.The number of successfully received data tree change notifications- Returns:
Uint32ntfOk, guaranteed to be non-null.- Throws:
NoSuchElementException- if ntfOk is not present
-
getDataChangeEventsOk
org.opendaylight.yangtools.yang.common.Uint32 getDataChangeEventsOk()Return dataChangeEventsOk, ornullif it is not present.The number of data change events received in data tree change notifications- Returns:
Uint32dataChangeEventsOk, ornullif it is not present.
-
requireDataChangeEventsOk
default @NonNull org.opendaylight.yangtools.yang.common.Uint32 requireDataChangeEventsOk()Return dataChangeEventsOk, guaranteed to be non-null.The number of data change events received in data tree change notifications- Returns:
Uint32dataChangeEventsOk, guaranteed to be non-null.- Throws:
NoSuchElementException- if dataChangeEventsOk is not present
-