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 QNameCOMPLEX_TYPEprotected StringdefaultFromstatic ItemNameF_DEFAULT_FROMstatic ItemNameF_SERVERprotected 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 newMailConfigurationTypeinstance.MailConfigurationType(MailConfigurationType o)Creates a newMailConfigurationTypeinstance by deeply copying a givenMailConfigurationTypeinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(JaxbVisitor visitor)ExpressionTypebeginRecipientFilterExpression()MailServerConfigurationTypebeginServer()MailConfigurationTypeblackList(String value)MailConfigurationTypeclone()Creates and returns a deep copy of this object.MailConfigurationTypedebug(Boolean value)MailConfigurationTypedefaultFrom(String value)booleanequals(Object object)booleanequals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator, org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator, Object object, org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)StringgetDefaultFrom()Gets the value of the defaultFrom property.List<MailServerConfigurationType>getServer()Gets the value of the server property.inthashCode()inthashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)MailConfigurationTypelogToFile(String value)MailConfigurationTypename(String value)MailConfigurationTyperecipientFilterExpression(ExpressionType value)MailConfigurationTyperedirectToFile(String value)MailConfigurationTypeserver(MailServerConfigurationType value)voidsetDefaultFrom(String value)Sets the value of the defaultFrom property.StringtoString()Generates a String representation of the contents of this type.MailConfigurationTypewhiteList(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 newMailConfigurationTypeinstance.
-
MailConfigurationType
public MailConfigurationType(MailConfigurationType o)
Creates a newMailConfigurationTypeinstance by deeply copying a givenMailConfigurationTypeinstance.- Parameters:
o- The instance to copy.- Throws:
NullPointerException- ifoisnull.
-
-
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
setmethod 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:
toStringin classNotificationTransportConfigurationType
-
hashCode
public int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator, org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)- Specified by:
hashCodein interfaceorg.jvnet.jaxb2_commons.lang.HashCode- Overrides:
hashCodein classNotificationTransportConfigurationType
-
hashCode
public int hashCode()
- Overrides:
hashCodein 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:
equalsin interfaceorg.jvnet.jaxb2_commons.lang.Equals- Overrides:
equalsin classNotificationTransportConfigurationType
-
equals
public boolean equals(Object object)
- Overrides:
equalsin classNotificationTransportConfigurationType
-
server
public MailConfigurationType server(MailServerConfigurationType value)
-
beginServer
public MailServerConfigurationType beginServer()
-
defaultFrom
public MailConfigurationType defaultFrom(String value)
-
debug
public MailConfigurationType debug(Boolean value)
- Overrides:
debugin classNotificationTransportConfigurationType
-
redirectToFile
public MailConfigurationType redirectToFile(String value)
- Overrides:
redirectToFilein classNotificationTransportConfigurationType
-
logToFile
public MailConfigurationType logToFile(String value)
- Overrides:
logToFilein classNotificationTransportConfigurationType
-
blackList
public MailConfigurationType blackList(String value)
- Overrides:
blackListin classNotificationTransportConfigurationType
-
whiteList
public MailConfigurationType whiteList(String value)
- Overrides:
whiteListin classNotificationTransportConfigurationType
-
recipientFilterExpression
public MailConfigurationType recipientFilterExpression(ExpressionType value)
- Overrides:
recipientFilterExpressionin classNotificationTransportConfigurationType
-
beginRecipientFilterExpression
public ExpressionType beginRecipientFilterExpression()
- Overrides:
beginRecipientFilterExpressionin classNotificationTransportConfigurationType
-
name
public MailConfigurationType name(String value)
- Overrides:
namein classNotificationTransportConfigurationType
-
accept
public void accept(JaxbVisitor visitor)
- Specified by:
acceptin interfaceJaxbVisitable- Overrides:
acceptin classNotificationTransportConfigurationType
-
clone
public MailConfigurationType clone()
Creates and returns a deep copy of this object.- Overrides:
clonein classNotificationTransportConfigurationType- Returns:
- A deep copy of this object.
-
-