Class EmailMessageRequest
- java.lang.Object
-
- org.apereo.cas.notifications.mail.EmailMessageRequest
-
public class EmailMessageRequest extends java.lang.ObjectThis isEmailMessageRequest.- Since:
- 6.6.0
-
-
Constructor Summary
Constructors Constructor Description EmailMessageRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Object>getAttributeValue()Gets the first attribute value from the principal.java.util.List<java.lang.String>getRecipients()Gets recipients by first using the attribute from the principal.booleanhasAttributeValue()Has attribute value for the principal?
-
-
-
Method Detail
-
hasAttributeValue
public boolean hasAttributeValue()
Has attribute value for the principal?- Returns:
- the boolean
-
getAttributeValue
public java.util.Optional<java.lang.Object> getAttributeValue()
Gets the first attribute value from the principal.- Returns:
- the attribute value
-
getRecipients
public java.util.List<java.lang.String> getRecipients()
Gets recipients by first using the attribute from the principal. If none found or empty value, uses the provided address.- Returns:
- the recipients
-
-