org.hyperic.hq.galerts.server.session
Class GalertDef
java.lang.Object
org.hyperic.hibernate.PersistedObject
org.hyperic.hq.galerts.server.session.GalertDef
- All Implemented Interfaces:
- java.io.Serializable, PerformsEscalations, AlertDefinitionInterface
public class GalertDef
- extends PersistedObject
- implements AlertDefinitionInterface, PerformsEscalations
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
GalertDef
protected GalertDef()
getName
public java.lang.String getName()
- Specified by:
getName
in interface PerformsEscalations
- Specified by:
getName
in interface AlertDefinitionInterface
setName
protected void setName(java.lang.String name)
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interface AlertDefinitionInterface
setDescription
protected void setDescription(java.lang.String desc)
isEnabled
public boolean isEnabled()
setEnabled
protected void setEnabled(boolean enabled)
getSeverityEnum
protected int getSeverityEnum()
setSeverityEnum
protected void setSeverityEnum(int code)
getSeverity
public AlertSeverity getSeverity()
getGroup
public ResourceGroup getGroup()
setGroup
protected void setGroup(ResourceGroup group)
getEscalation
public Escalation getEscalation()
- Specified by:
getEscalation
in interface PerformsEscalations
setEscalation
protected void setEscalation(Escalation escalation)
getStrategySet
protected java.util.Set getStrategySet()
setStrategySet
protected void setStrategySet(java.util.Set strategies)
getStrategies
public java.util.Set getStrategies()
getStrategy
public ExecutionStrategyInfo getStrategy(GalertDefPartition partition)
getAppdefID
public AppdefEntityID getAppdefID()
getAppdefId
public int getAppdefId()
getAppdefType
public int getAppdefType()
getPriority
public int getPriority()
- Specified by:
getPriority
in interface AlertDefinitionInterface
isNotifyFiltered
public boolean isNotifyFiltered()
- Specified by:
isNotifyFiltered
in interface AlertDefinitionInterface
getCtime
public long getCtime()
setCtime
protected void setCtime(long ctime)
getMtime
public long getMtime()
setMtime
protected void setMtime(long mtime)
setDeleted
protected void setDeleted(boolean deleted)
isDeleted
public boolean isDeleted()
- Specified by:
isDeleted
in interface PerformsEscalations
- Specified by:
isDeleted
in interface AlertDefinitionInterface
setLastFired
protected void setLastFired(java.lang.Long l)
getLastFired
public java.lang.Long getLastFired()
getAlertType
public EscalationAlertType getAlertType()
- Specified by:
getAlertType
in interface PerformsEscalations
getDefinitionInfo
public AlertDefinitionInterface getDefinitionInfo()
- Specified by:
getDefinitionInfo
in interface PerformsEscalations
performsEscalations
public boolean performsEscalations()
- Specified by:
performsEscalations
in interface AlertDefinitionInterface
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getResource
public Resource getResource()
- Specified by:
getResource
in interface AlertDefinitionInterface
Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.