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/draft10/pm/2017/10/05}AbstractAlertDescriptor">
<sequence>
<element name="Source" type="{http://p11073-10207/draft10/pm/2017/10/05}HandleRef" maxOccurs="unbounded" minOccurs="0"/>
<element name="CauseInfo" type="{http://p11073-10207/draft10/pm/2017/10/05}CauseInfo" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="Kind" use="required" type="{http://p11073-10207/draft10/pm/2017/10/05}AlertConditionKind" />
<attribute name="Priority" use="required" type="{http://p11073-10207/draft10/pm/2017/10/05}AlertConditionPriority" />
<attribute name="DefaultConditionGenerationDelay" type="{http://www.w3.org/2001/XMLSchema}duration" />
<attribute name="CanEscalate">
<simpleType>
<restriction base="{http://p11073-10207/draft10/pm/2017/10/05}AlertConditionPriority">
<enumeration value="Lo"/>
<enumeration value="Me"/>
<enumeration value="Hi"/>
</restriction>
</simpleType>
</attribute>
<attribute name="CanDeescalate">
<simpleType>
<restriction base="{http://p11073-10207/draft10/pm/2017/10/05}AlertConditionPriority">
<enumeration value="Me"/>
<enumeration value="Lo"/>
<enumeration value="None"/>
</restriction>
</simpleType>
</attribute>
</extension>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected AlertConditionPriority |
canDeescalate |
protected AlertConditionPriority |
canEscalate |
protected List<CauseInfo> |
causeInfo |
protected Duration |
defaultConditionGenerationDelay |
protected AlertConditionKind |
kind |
protected AlertConditionPriority |
priority |
protected List<String> |
source |
descriptorVersion, extension, handle, safetyClassification, type| Constructor and Description |
|---|
AlertConditionDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object that) |
AlertConditionPriority |
getCanDeescalate()
Gets the value of the canDeescalate property.
|
AlertConditionPriority |
getCanEscalate()
Gets the value of the canEscalate property.
|
List<CauseInfo> |
getCauseInfo()
Gets the value of the causeInfo property.
|
Duration |
getDefaultConditionGenerationDelay()
Gets the value of the defaultConditionGenerationDelay property.
|
AlertConditionKind |
getKind()
Gets the value of the kind property.
|
AlertConditionPriority |
getPriority()
Gets the value of the priority property.
|
List<String> |
getSource()
Gets the value of the source property.
|
int |
hashCode() |
void |
setCanDeescalate(AlertConditionPriority value)
Sets the value of the canDeescalate property.
|
void |
setCanEscalate(AlertConditionPriority value)
Sets the value of the canEscalate property.
|
void |
setCauseInfo(List<CauseInfo> value) |
void |
setDefaultConditionGenerationDelay(Duration value)
Sets the value of the defaultConditionGenerationDelay property.
|
void |
setKind(AlertConditionKind value)
Sets the value of the kind property.
|
void |
setPriority(AlertConditionPriority value)
Sets the value of the priority property.
|
void |
setSource(List<String> value) |
String |
toString() |
getDescriptorVersion, getExtension, getHandle, getSafetyClassification, getType, setDescriptorVersion, setExtension, setHandle, setSafetyClassification, setTypeprotected AlertConditionKind kind
protected AlertConditionPriority priority
protected Duration defaultConditionGenerationDelay
protected AlertConditionPriority canEscalate
protected AlertConditionPriority canDeescalate
public List<String> getSource()
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 source property.
For example, to add a new item, do as follows:
getSource().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 AlertConditionKind getKind()
AlertConditionKindpublic void setKind(AlertConditionKind value)
value - allowed object is
AlertConditionKindpublic AlertConditionPriority getPriority()
AlertConditionPrioritypublic void setPriority(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic Duration getDefaultConditionGenerationDelay()
Durationpublic void setDefaultConditionGenerationDelay(Duration value)
value - allowed object is
Durationpublic AlertConditionPriority getCanEscalate()
AlertConditionPrioritypublic void setCanEscalate(AlertConditionPriority value)
value - allowed object is
AlertConditionPrioritypublic AlertConditionPriority getCanDeescalate()
AlertConditionPrioritypublic void setCanDeescalate(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 © 2017. All rights reserved.