org.rhq.enterprise.server.rest.domain
Class AlertRest
java.lang.Object
org.rhq.enterprise.server.rest.domain.AlertRest
public class AlertRest
- extends Object
A single alert
- Author:
- Heiko W. Rupp
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AlertRest
public AlertRest()
setResource
public void setResource(ResourceWithType resource)
setId
public void setId(int id)
setName
public void setName(String name)
setAlertDefinition
public void setAlertDefinition(AlertDefinitionRest alertDefinitionId)
getId
public int getId()
getName
public String getName()
getAlertDefinition
public AlertDefinitionRest getAlertDefinition()
isDefinitionEnabled
public boolean isDefinitionEnabled()
setDefinitionEnabled
public void setDefinitionEnabled(boolean definitionEnabled)
getAckBy
public String getAckBy()
setAckBy
public void setAckBy(String ackBy)
getAckTime
public long getAckTime()
setAckTime
public void setAckTime(long ackTime)
getAlertTime
public long getAlertTime()
setAlertTime
public void setAlertTime(long alertTime)
getDescription
public String getDescription()
setDescription
public void setDescription(String description)
getResource
public ResourceWithType getResource()
getLinks
public List<Link> getLinks()
setLinks
public void setLinks(List<Link> links)
addLink
public void addLink(Link link)
Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.