public class EventViewerImpl extends Object implements EventViewer
| Constructor and Description |
|---|
EventViewerImpl(VcdClient client) |
| Modifier and Type | Method and Description |
|---|---|
com.vmware.vcloud.api.rest.schema_v1_5.QueryResultEventRecordType |
getLatestEvent(String eventType)
Returns the latest event of specified type.
|
com.vmware.vcloud.api.rest.schema_v1_5.QueryResultEventRecordType |
getSingleEvent(String eventType,
String entityHref)
Returns an event of specified type for the specified entity.
|
public EventViewerImpl(VcdClient client)
public com.vmware.vcloud.api.rest.schema_v1_5.QueryResultEventRecordType getSingleEvent(String eventType, String entityHref)
EventViewerThis method fails if it cannot find the event or if more than one event match the criteria.
getSingleEvent in interface EventViewereventType - Event type to matchentityHref - Entity URL to matchpublic com.vmware.vcloud.api.rest.schema_v1_5.QueryResultEventRecordType getLatestEvent(String eventType)
EventViewerThis method fails if there are no events of the specified type.
getLatestEvent in interface EventViewereventType - Event type to matchCopyright © 2019 VMware. All rights reserved.