Class WaitForValues

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.vmware.vim25.PropertyFilterSpec propertyFilterSpec​(com.vmware.vim25.ManagedObjectReference objmor, java.lang.String[] filterProps)  
      java.lang.Object[] wait​(com.vmware.vim25.ManagedObjectReference objmor, java.lang.String[] filterProps, java.lang.String[] endWaitProps, java.lang.Object[][] expectedVals)
      Handle Updates for a single object.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WaitForValues

        public WaitForValues​(Connection connection)
    • Method Detail

      • wait

        public java.lang.Object[] wait​(com.vmware.vim25.ManagedObjectReference objmor,
                                       java.lang.String[] filterProps,
                                       java.lang.String[] endWaitProps,
                                       java.lang.Object[][] expectedVals)
                                throws com.vmware.vim25.InvalidPropertyFaultMsg,
                                       com.vmware.vim25.RuntimeFaultFaultMsg,
                                       com.vmware.vim25.InvalidCollectorVersionFaultMsg
        Handle Updates for a single object. waits till expected values of properties to check are reached Destroys the ObjectFilter when done.
        Parameters:
        objmor - MOR of the Object to wait for
        filterProps - Properties list to filter
        endWaitProps - Properties list to check for expected values these be properties of a property in the filter properties list
        expectedVals - values for properties to end the wait
        Returns:
        true indicating expected values were met, and false otherwise
        Throws:
        com.vmware.vim25.RuntimeFaultFaultMsg
        com.vmware.vim25.InvalidPropertyFaultMsg
        com.vmware.vim25.InvalidCollectorVersionFaultMsg
      • propertyFilterSpec

        public com.vmware.vim25.PropertyFilterSpec propertyFilterSpec​(com.vmware.vim25.ManagedObjectReference objmor,
                                                                      java.lang.String[] filterProps)