Class Message
- java.lang.Object
-
- com.evolveum.midpoint.notifications.api.transports.Message
-
- All Implemented Interfaces:
DebugDumpable
public class Message extends Object implements DebugDumpable
- Author:
- mederly
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description Message()Message(NotificationMessageType message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdebugDump()Show the content of the object intended for diagnostics by system administrator.StringdebugDump(int indent)List<NotificationMessageAttachmentType>getAttachments()List<String>getBcc()StringgetBody()List<String>getCc()StringgetContentType()StringgetFrom()StringgetSubject()List<String>getTo()voidsetAttachments(List<NotificationMessageAttachmentType> attachments)voidsetBcc(List<String> bcc)voidsetBody(String body)voidsetCc(List<String> cc)voidsetContentType(String contentType)voidsetFrom(String from)voidsetSubject(String subject)voidsetTo(List<String> to)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDumpLazily, debugDumpLazily
-
-
-
-
Constructor Detail
-
Message
public Message()
-
Message
public Message(NotificationMessageType message)
-
-
Method Detail
-
getBody
public String getBody()
-
setBody
public void setBody(String body)
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String subject)
-
getContentType
public String getContentType()
-
setContentType
public void setContentType(String contentType)
-
getFrom
public String getFrom()
-
setFrom
public void setFrom(String from)
-
getAttachments
@NotNull public List<NotificationMessageAttachmentType> getAttachments()
-
setAttachments
public void setAttachments(@NotNull List<NotificationMessageAttachmentType> attachments)
-
debugDump
public String debugDump()
Description copied from interface:DebugDumpableShow the content of the object intended for diagnostics by system administrator. The out put should be suitable to use in system logs at "debug" level. It may be multi-line, but in that case it should be well indented and quite terse. As it is intended to be used by system administrator, it should not use any developer terms such as class names, exceptions or stack traces.- Specified by:
debugDumpin interfaceDebugDumpable- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDumpin interfaceDebugDumpable
-
-