public class AlertConditionDescriptor extends AbstractAlertDescriptor
Java class for AlertConditionDescriptor complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AlertConditionDescriptor">
<complexContent>
<extension base="{http://domain-model-uri/15/04}AbstractAlertDescriptor">
<sequence>
<element name="Kind" type="{http://domain-model-uri/15/04}AlertConditionKind"/>
<element name="Source" type="{http://domain-model-uri/15/04}HandleRef" maxOccurs="unbounded" minOccurs="0"/>
<element name="Priority" type="{http://domain-model-uri/15/04}AlertConditionPriority"/>
<element name="CauseInfo" type="{http://domain-model-uri/15/04}CauseInfo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CauseInfo> |
causeInfo |
protected AlertConditionType |
conditionType |
protected AlertConditionPriority |
priority |
protected List<String> |
sources |
descriptorVersion, extension, handle, intendedUse, type| Constructor and Description |
|---|
AlertConditionDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
List<CauseInfo> |
getCauseInfo()
Gets the value of the causeInfo property.
|
AlertConditionType |
getConditionType()
Describes the kind of the alert condition (see AlertConditionKind for further description).
|
AlertConditionPriority |
getPriority()
Gets the value of the priority property.
|
List<String> |
getSources()
A list of handle references to sources (e.g., metrics) that cause this alert condition.
|
void |
setCauseInfo(List<CauseInfo> value) |
void |
setConditionType(AlertConditionType value)
Sets the value of the conditionType property.
|
void |
setPriority(AlertConditionPriority value)
Sets the value of the priority property.
|
void |
setSources(List<String> value) |
getDescriptorVersion, getExtension, getHandle, getIntendedUse, getType, setDescriptorVersion, setExtension, setHandle, setIntendedUse, setTypeprotected AlertConditionType conditionType
protected AlertConditionPriority priority
public AlertConditionType getConditionType()
AlertConditionTypepublic void setConditionType(AlertConditionType value)
value - allowed object is
AlertConditionTypepublic List<String> getSources()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the sources property.
For example, to add a new item, do as follows:
getSources().add(newItem);
Objects of the following type(s) are allowed in the list
String
public AlertConditionPriority getPriority()
AlertConditionPrioritypublic void setPriority(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic List<CauseInfo> getCauseInfo()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the causeInfo property.
For example, to add a new item, do as follows:
getCauseInfo().add(newItem);
Objects of the following type(s) are allowed in the list
CauseInfo
Copyright © 2016. All rights reserved.