public class AlertContainer extends Object
org.miloss.fgsms.helper.SLACommon
,
org.miloss.fgsms.helper.SLAProcessorSingleton
,
WorkManager
Modifier and Type | Field and Description |
---|---|
protected SituationCategoryType |
alerttype
This is the type of alert, generally speaking, a performance or status
report
|
protected long |
currentTimeMillis
The time this even occurred.
|
protected String |
faultMsg
The fault message is usually a high readable string
|
protected String |
htmlEncodedFaultMessage
This is an html encoded fault message, usually with formatting for an
email message or something similar.
|
protected String |
incidentid
a unique UUID of this alert, with is also recorded in the SLA table of
the performance database.
|
protected String |
modifiedurl
The url of the fgsms policy that this alert is related to
|
protected boolean |
pooled
indicates that the current context is running inside of jboss, useful for
accessing database connections
|
protected String |
relatedMessageId
This is the id of the transaction that caused the SLA rule to trigger.
|
protected boolean |
sendtoAdminsOnly |
protected SLAAction |
slaActionBaseType
A reference to the action that will be processed by this alert container.
|
protected String |
SLAID
this is the UUID of the SLA Rule/Action set.
|
protected ServicePolicy |
t
a reference to the service policy for this object, do not modify it
|
Constructor and Description |
---|
AlertContainer(String faultMsg,
String htmlEncodedFaultMessage,
String modifiedurl,
String relatedMessageId,
long currentTimeMillis,
String incidentid,
boolean pooled,
boolean sendtoAdminsOnly,
SLAAction slaActionBaseType,
String SLAID,
ServicePolicy t,
SituationCategoryType typeofalert)
creates a new alert container
|
Modifier and Type | Method and Description |
---|---|
SituationCategoryType |
getAlerttype()
This is the type of alert, generally speaking, a performance or status
report
|
long |
getCurrentTimeMillis()
The time this even occurred.
|
String |
getFaultMsg()
The fault message is usually a high readable string
|
String |
getHtmlEncodedFaultMessage()
This is an html encoded fault message, usually with formatting for an
email message or something similar.
|
String |
getIncidentid()
a unique UUID of this alert, with is also recorded in the SLA table of
the performance database.
|
String |
getModifiedurl()
The url of the fgsms policy that this alert is related to
|
String |
getRelatedMessageId()
This is the id of the transaction that caused the SLA rule to trigger.
|
ServicePolicy |
getServicePolicy()
a reference to the service policy for this object, do not modify it
|
SLAAction |
getSlaActionBaseType()
A reference to the action that will be processed by this alert container.
|
String |
getSLAID()
this is the UUID of the SLA Rule/Action set.
|
boolean |
isPooled()
indicates that the current context is running inside of jboss, useful for
accessing database connections
|
boolean |
isSendtoAdminsOnly()
A reference to the action that will be processed by this alert container.
|
protected SituationCategoryType alerttype
PerformanceReport
,
AvailabilitySituation
protected String faultMsg
protected String htmlEncodedFaultMessage
protected String modifiedurl
protected String relatedMessageId
protected long currentTimeMillis
protected String incidentid
protected boolean pooled
protected boolean sendtoAdminsOnly
protected SLAAction slaActionBaseType
protected String SLAID
protected ServicePolicy t
public AlertContainer(String faultMsg, String htmlEncodedFaultMessage, String modifiedurl, String relatedMessageId, long currentTimeMillis, String incidentid, boolean pooled, boolean sendtoAdminsOnly, SLAAction slaActionBaseType, String SLAID, ServicePolicy t, SituationCategoryType typeofalert)
faultMsg
- htmlEncodedFaultMessage
- modifiedurl
- the policy urlrelatedMessageId
- a specific transaction that triggered the action, may be nullcurrentTimeMillis
- the time it was triggeredincidentid
- this is the id that will or has been recorded in the sla table of the performance database. this is useful for providing web links to get more informationpooled
- whether or not we are running in jboss and using jndi lookups for database connectionssendtoAdminsOnly
- typically only used for email alertsslaActionBaseType
- this is a reference to the specific action being triggered in the SLA identified by SLAID. This is necessary as some Actions have context parametersSLAID
- a unique id of the SLAServicePolicy
- of the thing this action was triggered ontypeofalert
- This is the type of alert, generally speaking, a AvailabilitySituation or PerformanceReport
reportPerformanceReport
,
AvailabilitySituation
public SituationCategoryType getAlerttype()
PerformanceReport
,
AvailabilitySituation
public String getFaultMsg()
public String getHtmlEncodedFaultMessage()
public String getModifiedurl()
public String getRelatedMessageId()
public long getCurrentTimeMillis()
public String getIncidentid()
public boolean isPooled()
public boolean isSendtoAdminsOnly()
public SLAAction getSlaActionBaseType()
public String getSLAID()
public ServicePolicy getServicePolicy()
Copyright © 2008–2017 MIL-OSS. All rights reserved.