public interface MessageLog
This interface must not be extended or implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachmentAsString(String name,
String text,
String mediaType)
Adds the specified text as an attachment.
|
void |
addCustomHeaderProperty(String name,
String value)
Adds a custom property with name
name and value
value of String type to the header of the message log. |
void |
setBooleanProperty(String name,
Boolean value)
Sets a property of Boolean type
|
void |
setDateProperty(String name,
Date value)
Sets a property of Date type
|
void |
setDoubleProperty(String name,
Double value)
Sets a property of Double type
|
void |
setFloatProperty(String name,
Float value)
Sets a property of Float type
|
void |
setIntegerProperty(String name,
Integer value)
Sets a property of Integer type
|
void |
setLongProperty(String name,
Long value)
Sets a property of Long type
|
void |
setStringProperty(String name,
String value)
Sets a property of String type.
|
void setStringProperty(String name, String value)
addAttachmentAsString(String, String, String) shall be usedname - the name of the propertyvalue - the value of the propertyvoid setIntegerProperty(String name, Integer value)
name - the name of the propertyvalue - the value of the propertyvoid setLongProperty(String name, Long value)
name - the name of the propertyvalue - the value of the propertyvoid setBooleanProperty(String name, Boolean value)
name - the name of the propertyvalue - the value of the propertyvoid setFloatProperty(String name, Float value)
name - the name of the propertyvalue - the value of the propertyvoid setDoubleProperty(String name, Double value)
name - the name of the propertyvalue - the value of the propertyvoid setDateProperty(String name, Date value)
name - the name of the propertyvalue - the value of the propertyvoid addAttachmentAsString(String name, String text, String mediaType)
setStringProperty(String, String)name - The name of the attachmenttext - the text of the attachmentmediaType - the related media type, for example text/plain, text/xml,
text/csv. In case null is specified, the media
type defaults to text/plain.void addCustomHeaderProperty(String name, String value)
name and value
value of String type to the header of the message log. The
old values of the property, if any, are not overwritten. The value
is added to the set of values of the property.
It can be used in searches.name - the name of the propertyvalue - the value of the propertyCopyright © 2020 SAP. All rights reserved.