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://p11073-10207/draft6/pm/2016/12/08}AbstractAlertDescriptor">
<sequence>
<element name="Source" type="{http://p11073-10207/draft6/pm/2016/12/08}HandleRef" maxOccurs="unbounded" minOccurs="0"/>
<element name="CauseInfo" type="{http://p11073-10207/draft6/pm/2016/12/08}CauseInfo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Kind" use="required" type="{http://p11073-10207/draft6/pm/2016/12/08}AlertConditionKind" />
<attribute name="Priority" use="required" type="{http://p11073-10207/draft6/pm/2016/12/08}AlertConditionPriority" />
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<CauseInfo> |
causeInfo |
protected AlertCondition |
condition |
protected AlertConditionPriority |
priority |
protected List<String> |
sources |
descriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
AlertConditionDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
List<CauseInfo> |
getCauseInfo()
Gets the value of the causeInfo property.
|
AlertCondition |
getCondition()
See pm:AlertConditionKind.
|
AlertConditionPriority |
getPriority()
Gets the value of the priority property.
|
List<String> |
getSources()
A list of HANDLE references to sources (e.g., METRICs) that cause the ALERT CONDITION.
|
int |
hashCode() |
void |
setCauseInfo(List<CauseInfo> value) |
void |
setCondition(AlertCondition value)
Sets the value of the condition property.
|
void |
setPriority(AlertConditionPriority value)
Sets the value of the priority property.
|
void |
setSources(List<String> value) |
String |
toString() |
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected AlertCondition condition
protected AlertConditionPriority priority
public 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 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
public AlertCondition getCondition()
AlertConditionpublic void setCondition(AlertCondition value)
value - allowed object is
AlertConditionpublic AlertConditionPriority getPriority()
AlertConditionPrioritypublic void setPriority(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic String toString()
toString in class AbstractAlertDescriptorpublic boolean equals(Object that)
equals in class AbstractAlertDescriptorpublic int hashCode()
hashCode in class AbstractAlertDescriptorCopyright © 2018. All rights reserved.