Class MailConfigurationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.MailConfigurationType
-
- All Implemented Interfaces:
JaxbVisitable
,Serializable
,Cloneable
,org.jvnet.jaxb2_commons.lang.Equals
,org.jvnet.jaxb2_commons.lang.HashCode
public class MailConfigurationType extends NotificationTransportConfigurationType implements Serializable, Cloneable, JaxbVisitable, org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode
Where and how to send mail notifications (or any other mail messages).Java class for MailConfigurationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="MailConfigurationType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}NotificationTransportConfigurationType"> <sequence> <element name="server" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MailServerConfigurationType" maxOccurs="unbounded" minOccurs="0"/> <element name="defaultFrom" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
protected String
defaultFrom
static ItemName
F_DEFAULT_FROM
static ItemName
F_SERVER
protected List<MailServerConfigurationType>
server
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
blackList, debug, F_BLACK_LIST, F_DEBUG, F_LOG_TO_FILE, F_NAME, F_RECIPIENT_FILTER_EXPRESSION, F_REDIRECT_TO_FILE, F_WHITE_LIST, logToFile, name, recipientFilterExpression, redirectToFile, whiteList
-
-
Constructor Summary
Constructors Constructor Description MailConfigurationType()
Creates a newMailConfigurationType
instance.MailConfigurationType(MailConfigurationType o)
Creates a newMailConfigurationType
instance by deeply copying a givenMailConfigurationType
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(JaxbVisitor visitor)
ExpressionType
beginRecipientFilterExpression()
MailServerConfigurationType
beginServer()
MailConfigurationType
blackList(String value)
MailConfigurationType
clone()
Creates and returns a deep copy of this object.MailConfigurationType
debug(Boolean value)
MailConfigurationType
defaultFrom(String value)
boolean
equals(Object object)
boolean
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
String
getDefaultFrom()
Gets the value of the defaultFrom property.List<MailServerConfigurationType>
getServer()
Gets the value of the server property.int
hashCode()
int
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
MailConfigurationType
logToFile(String value)
MailConfigurationType
name(String value)
MailConfigurationType
recipientFilterExpression(ExpressionType value)
MailConfigurationType
redirectToFile(String value)
MailConfigurationType
server(MailServerConfigurationType value)
void
setDefaultFrom(String value)
Sets the value of the defaultFrom property.String
toString()
Generates a String representation of the contents of this type.MailConfigurationType
whiteList(String value)
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.NotificationTransportConfigurationType
getBlackList, getLogToFile, getName, getRecipientFilterExpression, getRedirectToFile, getWhiteList, isDebug, setDebug, setLogToFile, setName, setRecipientFilterExpression, setRedirectToFile
-
-
-
-
Constructor Detail
-
MailConfigurationType
public MailConfigurationType()
Creates a newMailConfigurationType
instance.
-
MailConfigurationType
public MailConfigurationType(MailConfigurationType o)
Creates a newMailConfigurationType
instance by deeply copying a givenMailConfigurationType
instance.- Parameters:
o
- The instance to copy.- Throws:
NullPointerException
- ifo
isnull
.
-
-
Method Detail
-
getServer
public List<MailServerConfigurationType> getServer()
Gets the value of the server 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
set
method for the server property.For example, to add a new item, do as follows:
getServer().add(newItem);
Objects of the following type(s) are allowed in the list
MailServerConfigurationType
-
getDefaultFrom
public String getDefaultFrom()
Gets the value of the defaultFrom property.- Returns:
- possible object is
String
-
setDefaultFrom
public void setDefaultFrom(String value)
Sets the value of the defaultFrom property.- Parameters:
value
- allowed object isString
-
toString
public String toString()
Generates a String representation of the contents of this type. This is an extension method, produced by the 'ts' xjc plugin- Overrides:
toString
in classNotificationTransportConfigurationType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
- Specified by:
hashCode
in interfaceorg.jvnet.jaxb2_commons.lang.HashCode
- Overrides:
hashCode
in classNotificationTransportConfigurationType
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classNotificationTransportConfigurationType
-
equals
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
- Specified by:
equals
in interfaceorg.jvnet.jaxb2_commons.lang.Equals
- Overrides:
equals
in classNotificationTransportConfigurationType
-
equals
public boolean equals(Object object)
- Overrides:
equals
in classNotificationTransportConfigurationType
-
server
public MailConfigurationType server(MailServerConfigurationType value)
-
beginServer
public MailServerConfigurationType beginServer()
-
defaultFrom
public MailConfigurationType defaultFrom(String value)
-
debug
public MailConfigurationType debug(Boolean value)
- Overrides:
debug
in classNotificationTransportConfigurationType
-
redirectToFile
public MailConfigurationType redirectToFile(String value)
- Overrides:
redirectToFile
in classNotificationTransportConfigurationType
-
logToFile
public MailConfigurationType logToFile(String value)
- Overrides:
logToFile
in classNotificationTransportConfigurationType
-
blackList
public MailConfigurationType blackList(String value)
- Overrides:
blackList
in classNotificationTransportConfigurationType
-
whiteList
public MailConfigurationType whiteList(String value)
- Overrides:
whiteList
in classNotificationTransportConfigurationType
-
recipientFilterExpression
public MailConfigurationType recipientFilterExpression(ExpressionType value)
- Overrides:
recipientFilterExpression
in classNotificationTransportConfigurationType
-
beginRecipientFilterExpression
public ExpressionType beginRecipientFilterExpression()
- Overrides:
beginRecipientFilterExpression
in classNotificationTransportConfigurationType
-
name
public MailConfigurationType name(String value)
- Overrides:
name
in classNotificationTransportConfigurationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
accept
in interfaceJaxbVisitable
- Overrides:
accept
in classNotificationTransportConfigurationType
-
clone
public MailConfigurationType clone()
Creates and returns a deep copy of this object.- Overrides:
clone
in classNotificationTransportConfigurationType
- Returns:
- A deep copy of this object.
-
-