|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.hyperic.util.HypericEnum
org.hyperic.hq.escalation.server.session.EscalationAlertType
public abstract class EscalationAlertType
This is a dynamic enumeration. Other subsystems wishing to specify their own alert type into the escalation manager must create a subclass of this enumeration with a unique code.
| Constructor Summary | |
|---|---|
protected |
EscalationAlertType(int code,
java.lang.String desc,
java.lang.String localeProp,
java.util.ResourceBundle bundle)
|
| Method Summary | |
|---|---|
protected abstract void |
changeAlertState(Escalatable esc,
AuthzSubject who,
EscalationStateChange newState)
Change the state of an alert. |
protected boolean |
escalationInUse(Escalation escalation)
Returns true if the escalation is in use. |
static EscalationAlertType |
findByCode(int code)
|
protected abstract PerformsEscalations |
findDefinition(java.lang.Integer defId)
Find an alert definition (or something that performs escalations) given its id. |
protected abstract Escalatable |
findEscalatable(java.lang.Integer alertId)
Find an escalatable (alert) given its ID. |
static java.util.List |
getAll()
|
protected abstract java.lang.String |
getLastFixedNote(PerformsEscalations def)
Return the note from the last alert instance where the alert was fixed. |
protected abstract java.util.Collection |
getPerformersOfEscalation(Escalation escalation)
Returns a Collection of PerformsEscalations, which are
using the passed escalation. |
protected abstract void |
logActionDetails(Escalatable esc,
Action action,
java.lang.String detail,
AuthzSubject subject)
Log the result of the execution of an action. |
protected abstract void |
setEscalation(java.lang.Integer defId,
Escalation escalation)
Set the escalation for something which can .. |
| Methods inherited from class org.hyperic.util.HypericEnum |
|---|
findByCode, findByDescription, getAll, getByCode, getCode, getDescription, getJsonName, getValue, toJSON, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected EscalationAlertType(int code,
java.lang.String desc,
java.lang.String localeProp,
java.util.ResourceBundle bundle)
| Method Detail |
|---|
public static EscalationAlertType findByCode(int code)
protected abstract Escalatable findEscalatable(java.lang.Integer alertId)
protected abstract PerformsEscalations findDefinition(java.lang.Integer defId)
protected abstract void setEscalation(java.lang.Integer defId,
Escalation escalation)
defId - ID of the definition to set the escalation for
protected abstract void changeAlertState(Escalatable esc,
AuthzSubject who,
EscalationStateChange newState)
esc - The escalatable (alert) to change state ofwho - Person changing the statenewState - New state
protected abstract void logActionDetails(Escalatable esc,
Action action,
java.lang.String detail,
AuthzSubject subject)
protected abstract java.lang.String getLastFixedNote(PerformsEscalations def)
protected abstract java.util.Collection getPerformersOfEscalation(Escalation escalation)
PerformsEscalations, which are
using the passed escalation.
protected boolean escalationInUse(Escalation escalation)
public static java.util.List getAll()
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||