Class NotificationDefaults
- java.lang.Object
-
- com.hybris.cockpitng.config.notification.jaxb.NotificationDefaults
-
public class NotificationDefaults extends java.lang.ObjectJava 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<NotificationDestination>destinationsprotected NotificationRenderingInfofallbackprotected java.lang.BooleanlinksEnabledprotected NotificationTimeoutstimeouts
-
Constructor Summary
Constructors Constructor Description NotificationDefaults()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<NotificationDestination>getDestinations()Gets the value of the destinations property.NotificationRenderingInfogetFallback()Gets the value of the fallback property.NotificationTimeoutsgetTimeouts()Gets the value of the timeouts property.booleanisLinksEnabled()Gets the value of the linksEnabled property.voidsetFallback(NotificationRenderingInfo value)Sets the value of the fallback property.voidsetLinksEnabled(java.lang.Boolean value)Sets the value of the linksEnabled property.voidsetTimeouts(NotificationTimeouts value)Sets the value of the timeouts property.
-
-
-
Field Detail
-
fallback
protected NotificationRenderingInfo fallback
-
timeouts
protected NotificationTimeouts timeouts
-
destinations
protected java.util.List<NotificationDestination> destinations
-
linksEnabled
protected java.lang.Boolean linksEnabled
-
-
Method Detail
-
getFallback
public NotificationRenderingInfo getFallback()
Gets the value of the fallback property.- Returns:
- possible object is
NotificationRenderingInfo
-
setFallback
public void setFallback(NotificationRenderingInfo value)
Sets the value of the fallback property.- Parameters:
value- allowed object isNotificationRenderingInfo
-
getTimeouts
public NotificationTimeouts getTimeouts()
Gets the value of the timeouts property.- Returns:
- possible object is
NotificationTimeouts
-
setTimeouts
public void setTimeouts(NotificationTimeouts value)
Sets the value of the timeouts property.- Parameters:
value- allowed object isNotificationTimeouts
-
getDestinations
public java.util.List<NotificationDestination> getDestinations()
Gets the value of the destinations property.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
setmethod 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
-
isLinksEnabled
public boolean isLinksEnabled()
Gets the value of the linksEnabled property.- Returns:
- possible object is
Boolean
-
setLinksEnabled
public void setLinksEnabled(java.lang.Boolean value)
Sets the value of the linksEnabled property.- Parameters:
value- allowed object isBoolean
-
-