public class FeedPublisher extends Publisher
Parameters (as direct publisher param or global feed.* param):
filename (default: feed.xml): the feed file name (relative to output directory)maxEntries (default: 100): maximum entries in the feed file: if new entries are added, oldest ones
are removedWhen the feed file must be created, these parameters are used:
type (default: atom_0.3): the feed type (any value supported by Rome)title: the feed title (default: "LogDistiller [logdistillation id]"link: the feed link (default: LogDistiller's site)description: the feed description (default: "LogDistiller reports for [logdistillation id]"Publisher.PublishException| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_FEED_TYPE |
| Constructor and Description |
|---|
FeedPublisher() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Get the publisher-id for this class.
|
void |
publish(LogDistillation.Group group,
LogDistiller.Report report)
Publish a group report.
|
void |
publish(LogDistillation logdistillation,
LogDistiller.Report report)
Publish a global report.
|
public static final String DEFAULT_FEED_TYPE
public FeedPublisher()
public String getId()
Publisherpublic void publish(LogDistillation logdistillation, LogDistiller.Report report) throws IOException, Publisher.PublishException
Publisherpublish in class Publisherlogdistillation - the logdistillation containing the results to publishreport - the report configurationIOExceptionPublisher.PublishExceptionpublic void publish(LogDistillation.Group group, LogDistiller.Report report) throws IOException, Publisher.PublishException
Publisherpublish in class Publishergroup - the logdstillation group containing the results to publishreport - the report configurationIOExceptionPublisher.PublishExceptionCopyright © 2004–2014. All rights reserved.