public class AlertsCriteria extends Object
| Constructor and Description |
|---|
AlertsCriteria() |
public Long getStartTime()
public void setStartTime(Long startTime)
startTime - fetched Alerts must have cTime greater than or equal to startTimepublic Long getEndTime()
public void setEndTime(Long endTime)
endTime - fetched Alerts must have cTime less than or equal to endTimepublic String getAlertId()
public void setAlertId(String alertId)
public Collection<String> getAlertIds()
public void setAlertIds(Collection<String> alertIds)
public Alert.Status getStatus()
public void setStatus(Alert.Status status)
public Collection<Alert.Status> getStatusSet()
public void setStatusSet(Collection<Alert.Status> statusSet)
public String getTriggerId()
public void setTriggerId(String triggerId)
triggerId - fetched Alerts must be for the specified trigger. Ignored if triggerIds is not empty.public Collection<String> getTriggerIds()
public void setTriggerIds(Collection<String> triggerIds)
triggerIds - fetched alerts must be for one of the specified triggers.public void setTags(Map<String,String> tags)
tags - return alerts with *any* of these tags, it does not have to have all of the tags). Specify '*' for
the value if you only want to match the name portion of the tag.public Severity getSeverity()
public void setSeverity(Severity severity)
public Collection<Severity> getSeverities()
public void setSeverities(Collection<Severity> severities)
public boolean isThin()
public void setThin(boolean thin)
public boolean hasAlertIdCriteria()
public boolean hasSeverityCriteria()
public boolean hasStatusCriteria()
public boolean hasTagCriteria()
public boolean hasCTimeCriteria()
public boolean hasTriggerIdCriteria()
public boolean hasCriteria()
Copyright © 2015 Red Hat, Inc.. All rights reserved.