public class EventsCriteria extends Object
| Constructor and Description |
|---|
EventsCriteria() |
EventsCriteria(Long startTime,
Long endTime,
String eventIds,
String triggerIds,
String categories,
String tags,
Boolean thin) |
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 getEventId()
public void setEventId(String eventId)
public Collection<String> getEventIds()
public void setEventIds(Collection<String> eventIds)
public String getCategory()
public void setCategory(String category)
public Collection<String> getCategories()
public void setCategories(Collection<String> categories)
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 boolean isThin()
public void setThin(boolean thin)
public Integer getCriteriaNoQuerySize()
public void setCriteriaNoQuerySize(Integer criteriaNoQuerySize)
public boolean hasEventIdCriteria()
public boolean hasCategoryCriteria()
public boolean hasTagCriteria()
public boolean hasCTimeCriteria()
public boolean hasTriggerIdCriteria()
public boolean hasCriteria()
Copyright © 2015–2017 Red Hat, Inc.. All rights reserved.