[Engine-devel] java SDK question

navin p navinp1281 at gmail.com
Fri Feb 1 10:56:34 UTC 2013


Hi,
 When i do the api call for events from , i only get 100 events. Can
someone tell me how to get all the events ?

List<Event> evlst=api.getEvents().list();
for(Event obj:evlst) {
 System.out.println(obj.getDescription() + ":" +obj.getSeverity()
+":"+obj.getTime().toString()+":"+k.toString());
}

Regards,
Navin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20130201/ca2b5052/attachment-0001.html>


More information about the Devel mailing list