public class DefaultJobLogConverter extends Object implements Converter<List<JobLogModel>,String>
| Constructor and Description |
|---|
DefaultJobLogConverter() |
| Modifier and Type | Method and Description |
|---|---|
String |
convert(List<JobLogModel> logs)
Converts the source object, creating a new instance of the destination type
|
String |
convert(List<JobLogModel> source,
String prototype)
Convert the source object by filling the prototype
|
void |
setDateFormatPattern(String dateFormatPattern) |
void |
setFormatFactory(FormatFactory formatFactory) |
void |
setMaxMessageRows(int maxMessageRows) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertAll, convertAllIgnoreExceptions, getLoggerpublic void setDateFormatPattern(String dateFormatPattern)
public void setMaxMessageRows(int maxMessageRows)
public void setFormatFactory(FormatFactory formatFactory)
public String convert(List<JobLogModel> logs) throws ConversionException
Converterconvert in interface Converter<List<JobLogModel>,String>logs - the source objectConversionException - if an error occurspublic String convert(List<JobLogModel> source, String prototype) throws ConversionException
Converterconvert in interface Converter<List<JobLogModel>,String>source - the source objectprototype - the prototype to fillConversionException - if an error occursCopyright © 2017 SAP SE. All Rights Reserved.