public class EventManager extends ManagedObject
| Constructor and Description |
|---|
EventManager(ServerConnection serverConnection,
ManagedObjectReference mor) |
| Modifier and Type | Method and Description |
|---|---|
EventHistoryCollector |
createCollectorForEvents(EventFilterSpec filter) |
EventDescription |
getDescription() |
Event |
getLatestEvent() |
int |
getMaxCollector() |
void |
logUserEvent(ManagedEntity entity,
String msg) |
void |
postEvent(Event eventToPost,
TaskInfo taskInfo) |
Event[] |
queryEvents(EventFilterSpec filter) |
EventArgDesc[] |
retrieveArgumentDescription(String eventTypeId) |
convertMors, getCurrentProperty, getDatastores, getFilter, getHosts, getManagedObject, getManagedObjects, getManagedObjects, getMOR, getNetworks, getPropertiesByPaths, getPropertyByPath, getResourcePools, getScheduledTasks, getServerConnection, getTasks, getViews, getVimService, getVms, retrieveObjectProperties, setMOR, setServerConnection, toString, waitForValuespublic EventManager(ServerConnection serverConnection, ManagedObjectReference mor)
public EventDescription getDescription()
public Event getLatestEvent()
public int getMaxCollector()
public EventHistoryCollector createCollectorForEvents(EventFilterSpec filter) throws InvalidState, RuntimeFault, RemoteException
InvalidStateRuntimeFaultRemoteExceptionpublic void logUserEvent(ManagedEntity entity, String msg) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic void postEvent(Event eventToPost, TaskInfo taskInfo) throws InvalidEvent, RuntimeFault, RemoteException
InvalidEventRuntimeFaultRemoteExceptionpublic Event[] queryEvents(EventFilterSpec filter) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionpublic EventArgDesc[] retrieveArgumentDescription(String eventTypeId) throws RuntimeFault, RemoteException
RuntimeFaultRemoteExceptionCopyright © 2011-2012. All Rights Reserved.