Class ReportBuilder
- java.lang.Object
-
- com.adaptris.core.http.jetty.retry.ReportBuilder
-
- All Implemented Interfaces:
ComponentLifecycle
@ComponentProfile(summary="Generate a report on the files stored in the retry store.", since="3.11.1") public class ReportBuilder extends java.lang.Object implements ComponentLifecycle
Supports reporting of what's in the retry store.This is tightly coupled with
RetryFromJetty
and probably can't be used elsewhere.
-
-
Constructor Summary
Constructors Constructor Description ReportBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptrisMessage
build(java.lang.Iterable<RemoteBlob> list, AdaptrisMessage msg)
java.lang.String
getContentType()
Set the content type to be associated with the report.BlobListRenderer
getReportRenderer()
void
setContentType(java.lang.String contentType)
Set the content type to be associated with the report.void
setReportRenderer(BlobListRenderer reportRenderer)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adaptris.core.ComponentLifecycle
close, init, start, stop
-
-
-
-
Method Detail
-
build
public AdaptrisMessage build(java.lang.Iterable<RemoteBlob> list, AdaptrisMessage msg) throws java.lang.Exception
- Throws:
java.lang.Exception
-
getReportRenderer
public BlobListRenderer getReportRenderer()
-
setReportRenderer
public void setReportRenderer(BlobListRenderer reportRenderer)
-
getContentType
public java.lang.String getContentType()
Set the content type to be associated with the report.
-
setContentType
public void setContentType(java.lang.String contentType)
Set the content type to be associated with the report.
-
-