public class AlertHandlerBean extends AbstractRestBean
AbstractRestBean.CacheKeycache, caller, log, resMgr, resourceGroupManager, wrappedCollectionJson, wrappedCollectionJsonType| Constructor and Description |
|---|
AlertHandlerBean() |
| Modifier and Type | Method and Description |
|---|---|
AlertRest |
ackAlert(int id,
javax.ws.rs.core.UriInfo uriInfo) |
AlertRest |
alertToDomain(org.rhq.core.domain.alert.Alert al,
javax.ws.rs.core.UriInfo uriInfo,
boolean slim) |
IntegerValue |
countAlerts(Long since) |
javax.ws.rs.core.Response |
getAlert(int id,
boolean slim,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.Request request,
javax.ws.rs.core.HttpHeaders headers) |
javax.ws.rs.core.Response |
getConditionLogs(int id,
javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
AlertDefinitionRest |
getDefinitionForAlert(int alertId,
javax.ws.rs.core.UriInfo uriInfo) |
javax.ws.rs.core.Response |
getNotificationLogs(int id,
javax.ws.rs.core.Request request,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
javax.ws.rs.core.Response |
listAlerts(int page,
int size,
String prio,
boolean slim,
Long since,
Integer resourceId,
Integer definitionId,
boolean unacknowledgedOnly,
boolean noRecovered,
boolean noRecoveryType,
String name,
javax.ws.rs.core.UriInfo uriInfo,
javax.ws.rs.core.HttpHeaders headers) |
javax.ws.rs.core.Response |
purgeAlert(int id,
boolean validate) |
createPagingHeader, createUILink, fetchGroup, fetchResource, fillGroup, fillRWT, getFromCache, getFromCache, getLinkToGroup, getLinkToResource, getLinkToResourceType, getMetricScheduleInternal, paginate, putToCache, putToCache, removeFromCache, renderTemplate, setCachingHeader, start, withMediaType, wrapForPagingpublic javax.ws.rs.core.Response listAlerts(int page,
int size,
String prio,
boolean slim,
Long since,
Integer resourceId,
Integer definitionId,
boolean unacknowledgedOnly,
boolean noRecovered,
boolean noRecoveryType,
String name,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders headers)
public IntegerValue countAlerts(Long since)
public javax.ws.rs.core.Response getAlert(int id,
boolean slim,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.Request request,
@Context
javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response getConditionLogs(int id,
@Context
javax.ws.rs.core.Request request,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders headers)
public javax.ws.rs.core.Response getNotificationLogs(int id,
@Context
javax.ws.rs.core.Request request,
@Context
javax.ws.rs.core.UriInfo uriInfo,
@Context
javax.ws.rs.core.HttpHeaders headers)
public AlertRest ackAlert(int id, @Context javax.ws.rs.core.UriInfo uriInfo)
public javax.ws.rs.core.Response purgeAlert(int id,
boolean validate)
public AlertDefinitionRest getDefinitionForAlert(int alertId, @Context javax.ws.rs.core.UriInfo uriInfo)
public AlertRest alertToDomain(org.rhq.core.domain.alert.Alert al, javax.ws.rs.core.UriInfo uriInfo, boolean slim)
Copyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.