public abstract class AbstractResourceAlertResponse extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected String |
action |
protected int |
breachPeriod |
protected boolean |
enabled |
protected String |
equalityRelation |
protected String |
group |
protected String |
name |
protected String |
type |
protected String |
username |
Constructor and Description |
---|
AbstractResourceAlertResponse(String group,
String name,
String type,
String username,
String action,
String equalityRelation,
boolean enabled,
int breachPeriod) |
Modifier and Type | Method and Description |
---|---|
String |
getAction()
Get action to perform when alert is triggered.
|
int |
getBreachPeriod()
Get the breach period that is required in order for the alert to be
triggered.
|
String |
getGroup()
Get the performance counter group attached to this alert.
|
String |
getName()
Get the performance counter name attached to this alert.
|
String |
getRelation()
Get equality relation.
|
String |
getType()
Get the performance counter type attached to this alert.
|
String |
getUsername()
Get the username associated with the alert.
|
boolean |
isEnabled()
Set whether the alert is enabled.
|
protected String group
protected String name
protected String type
protected String username
protected String action
protected String equalityRelation
protected boolean enabled
protected int breachPeriod
public String getGroup()
String
performance counter grouppublic String getName()
String
performance counter namepublic String getType()
String
performance counter typepublic String getUsername()
String
usernamepublic String getRelation()
e.g. '<=' or '>='
String
equality relationpublic String getAction()
String
actionpublic int getBreachPeriod()
i.e. the number of consecutive periods in which the threshold must be met before alert is sent.
public boolean isEnabled()
Copyright © 2019 iland Internet Solutions, Corp. All rights reserved.