Interface StartTestOutput

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<StartTestOutput>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, org.opendaylight.yangtools.yang.binding.RpcOutput

    @Generated("mdsal-binding-generator")
    public interface StartTestOutput
    extends org.opendaylight.yangtools.yang.binding.RpcOutput, org.opendaylight.yangtools.yang.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;
       }
     }
     
    The schema path to identify an instance is dsbenchmark/start-test/output
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        default Class<StartTestOutput> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.RpcOutput
      • bindingHashCode

        static int bindingHashCode​(@NonNull StartTestOutput obj)
        Default implementation of Object.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 - if obj is null
      • bindingEquals

        static boolean bindingEquals​(@NonNull StartTestOutput thisObj,
                                     Object obj)
        Default implementation of Object.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 invocation
        obj - Object acting as argument to equals invocation
        Returns:
        True if thisObj and obj are considered equal
        Throws:
        NullPointerException - if thisObj is null
      • bindingToString

        static String bindingToString​(@NonNull StartTestOutput obj)
        Default implementation of Object.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:
        String value of data modeled by this interface.
        Throws:
        NullPointerException - if obj is null
      • getStatus

        StartTestOutput.Status getStatus()
        Return status, or null if it is not present.
             
                 Indicates whether the test finished successfuly
             
         
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.dsbenchmark.rev150105.StartTestOutput.Status status, or null if it is not present.
      • getListBuildTime

        Long getListBuildTime()
        Return listBuildTime, or null if it is not present.
             
                 The time it took to build the list of lists
             
         
        Returns:
        java.lang.Long listBuildTime, or null if it is not present.
      • getExecTime

        Long getExecTime()
        Return execTime, or null if it is not present.
             
                 The time it took to execute all transactions
             
         
        Returns:
        java.lang.Long execTime, or null if it is not present.
      • getTxOk

        org.opendaylight.yangtools.yang.common.Uint32 getTxOk()
        Return txOk, or null if it is not present.
             
                 The number of successful transactions
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 txOk, or null if it is not present.
      • getTxError

        org.opendaylight.yangtools.yang.common.Uint32 getTxError()
        Return txError, or null if it is not present.
             
                 The number of failed transactions
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 txError, or null if it is not present.
      • getNtfOk

        org.opendaylight.yangtools.yang.common.Uint32 getNtfOk()
        Return ntfOk, or null if it is not present.
             
                 The number of successfully received data tree change notifications
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 ntfOk, or null if it is not present.
      • getDataChangeEventsOk

        org.opendaylight.yangtools.yang.common.Uint32 getDataChangeEventsOk()
        Return dataChangeEventsOk, or null if it is not present.
             
                 The number of data change events received in data tree change notifications
             
         
        Returns:
        org.opendaylight.yangtools.yang.common.Uint32 dataChangeEventsOk, or null if it is not present.