public class NotificationDefaults extends Object
Java class for NotificationDefaults complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationDefaults">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="fallback" type="{http://www.hybris.com/cockpitng/config/notifications}NotificationRenderingInfo" minOccurs="0"/>
<element name="timeouts" type="{http://www.hybris.com/cockpitng/config/notifications}NotificationTimeouts" minOccurs="0"/>
<sequence>
<element name="destinations" type="{http://www.hybris.com/cockpitng/config/notifications}NotificationDestination" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</sequence>
<attribute name="linksEnabled" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<NotificationDestination> |
destinations |
protected NotificationRenderingInfo |
fallback |
protected Boolean |
linksEnabled |
protected NotificationTimeouts |
timeouts |
| Constructor and Description |
|---|
NotificationDefaults() |
| Modifier and Type | Method and Description |
|---|---|
List<NotificationDestination> |
getDestinations()
Gets the value of the destinations property.
|
NotificationRenderingInfo |
getFallback()
Gets the value of the fallback property.
|
NotificationTimeouts |
getTimeouts()
Gets the value of the timeouts property.
|
boolean |
isLinksEnabled()
Gets the value of the linksEnabled property.
|
void |
setFallback(NotificationRenderingInfo value)
Sets the value of the fallback property.
|
void |
setLinksEnabled(Boolean value)
Sets the value of the linksEnabled property.
|
void |
setTimeouts(NotificationTimeouts value)
Sets the value of the timeouts property.
|
protected NotificationRenderingInfo fallback
protected NotificationTimeouts timeouts
protected List<NotificationDestination> destinations
protected Boolean linksEnabled
public NotificationRenderingInfo getFallback()
NotificationRenderingInfopublic void setFallback(NotificationRenderingInfo value)
value - allowed object is
NotificationRenderingInfopublic NotificationTimeouts getTimeouts()
NotificationTimeoutspublic void setTimeouts(NotificationTimeouts value)
value - allowed object is
NotificationTimeoutspublic List<NotificationDestination> getDestinations()
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 destinations property.
For example, to add a new item, do as follows:
getDestinations().add(newItem);
Objects of the following type(s) are allowed in the list
NotificationDestination
public boolean isLinksEnabled()
BooleanCopyright © 2018. All rights reserved.