Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.hq.galerts.server.session
Class GalertLog

java.lang.Object
  extended by org.hyperic.hibernate.PersistedObject
      extended by org.hyperic.hq.galerts.server.session.GalertLog
All Implemented Interfaces:
java.io.Serializable, AlertInterface

public class GalertLog
extends PersistedObject
implements AlertInterface

See Also:
Serialized Form

Field Summary
static int MAX_LONG_REASON
           
static int MAX_SHORT_REASON
           
 
Constructor Summary
protected GalertLog()
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
protected  java.lang.Long getAckedBy()
           
 java.util.Collection getActionLog()
           
protected  java.util.Collection getActionLogBag()
           
 GalertDef getAlertDef()
           
 AlertDefinitionInterface getAlertDefinitionInterface()
           
protected  java.util.List getAuxLogBag()
           
 java.util.List getAuxLogs()
          Gets the GalertAuxLogs associated with this alert.
 PerformsEscalations getDefinition()
           
 java.lang.String getLongReason()
           
protected  int getPartitionEnum()
           
 java.lang.String getShortReason()
           
protected  java.lang.Long getStateId()
           
 long getTimestamp()
           
 boolean hasEscalationState()
           
 int hashCode()
           
 boolean isAcknowledgeable()
           
 boolean isAcknowledged()
           
 boolean isFixed()
           
protected  void setAckedBy(java.lang.Long ackedBy)
           
protected  void setActionLogBag(java.util.Collection actionLog)
           
protected  void setAlertDef(GalertDef def)
           
protected  void setAuxLogBag(java.util.List auxLogs)
           
protected  void setFixed(boolean fixed)
           
protected  void setLongReason(java.lang.String txt)
           
protected  void setPartitionEnum(int code)
           
protected  void setShortReason(java.lang.String txt)
           
protected  void setStateId(java.lang.Long stateId)
           
protected  void setTimestamp(long timestamp)
           
 
Methods inherited from class org.hyperic.hibernate.PersistedObject
get_version_, getId, set_version_, setId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.hyperic.hq.events.AlertInterface
getId
 

Field Detail

MAX_SHORT_REASON

public static int MAX_SHORT_REASON

MAX_LONG_REASON

public static int MAX_LONG_REASON
Constructor Detail

GalertLog

protected GalertLog()
Method Detail

getDefinition

public PerformsEscalations getDefinition()

getAlertDef

public GalertDef getAlertDef()

setAlertDef

protected void setAlertDef(GalertDef def)

getAlertDefinitionInterface

public AlertDefinitionInterface getAlertDefinitionInterface()
Specified by:
getAlertDefinitionInterface in interface AlertInterface

getTimestamp

public long getTimestamp()
Specified by:
getTimestamp in interface AlertInterface

setTimestamp

protected void setTimestamp(long timestamp)

getShortReason

public java.lang.String getShortReason()

setShortReason

protected void setShortReason(java.lang.String txt)

getLongReason

public java.lang.String getLongReason()

setLongReason

protected void setLongReason(java.lang.String txt)

setPartitionEnum

protected void setPartitionEnum(int code)

getPartitionEnum

protected int getPartitionEnum()

setActionLogBag

protected void setActionLogBag(java.util.Collection actionLog)

getActionLogBag

protected java.util.Collection getActionLogBag()

getActionLog

public java.util.Collection getActionLog()
Specified by:
getActionLog in interface AlertInterface

setAuxLogBag

protected void setAuxLogBag(java.util.List auxLogs)

getAuxLogBag

protected java.util.List getAuxLogBag()

getAuxLogs

public java.util.List getAuxLogs()
Gets the GalertAuxLogs associated with this alert.


isFixed

public boolean isFixed()
Specified by:
isFixed in interface AlertInterface

setFixed

protected void setFixed(boolean fixed)

setAckedBy

protected void setAckedBy(java.lang.Long ackedBy)

getAckedBy

protected java.lang.Long getAckedBy()

setStateId

protected void setStateId(java.lang.Long stateId)

getStateId

protected java.lang.Long getStateId()

isAcknowledged

public boolean isAcknowledged()

hasEscalationState

public boolean hasEscalationState()

isAcknowledgeable

public boolean isAcknowledgeable()

hashCode

public int hashCode()
Overrides:
hashCode in class PersistedObject

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class PersistedObject

Hyperic HQ Plugin API v. 4.4.0.2

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.