Class ExternalReplyMessageManipulationResult
- java.lang.Object
-
- com.novomind.ecom.api.imail.core.result.ExternalReplyMessageManipulationResult
-
public final class ExternalReplyMessageManipulationResult extends java.lang.Object
Represents the result of the optional external reply message manipulation by an
ExternalReplyMessageManipulator
.- Since:
- 11.10
-
-
Constructor Summary
Constructors Constructor Description ExternalReplyMessageManipulationResult(javax.mail.Message message)
Creates anExternalReplyMessageManipulationResult
with a manipulated message
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<javax.mail.Message>
getMessage()
static ExternalReplyMessageManipulationResult
getUnmodifiedResult()
Provides anExternalReplyMessageManipulationResult
without any modifications
-
-
-
Method Detail
-
getUnmodifiedResult
public static ExternalReplyMessageManipulationResult getUnmodifiedResult()
Provides anExternalReplyMessageManipulationResult
without any modifications- Returns:
- an
ExternalReplyMessageManipulationResult
without any modifications - Since:
- 11.10
-
getMessage
public java.util.Optional<javax.mail.Message> getMessage()
- Returns:
- an
Optional
with the manipulated message, or an emptyOptional
if no manipulation has been done. - Since:
- 11.10
-
-