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 String
debugDump()
Show the content of the object intended for diagnostics by system administrator.String
debugDump(int indent)
List<NotificationMessageAttachmentType>
getAttachments()
List<String>
getBcc()
String
getBody()
List<String>
getCc()
String
getContentType()
String
getFrom()
String
getSubject()
List<String>
getTo()
void
setAttachments(List<NotificationMessageAttachmentType> attachments)
void
setBcc(List<String> bcc)
void
setBody(String body)
void
setCc(List<String> cc)
void
setContentType(String contentType)
void
setFrom(String from)
void
setSubject(String subject)
void
setTo(List<String> to)
String
toString()
-
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:DebugDumpable
Show 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:
debugDump
in interfaceDebugDumpable
- Returns:
- content of the object intended for diagnostics by system administrator.
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
-