public class LoggingOutputWriter extends Object implements OutputWriter
Modifier and Type | Field and Description |
---|---|
protected static String |
FAILURE |
protected static String |
SUCCESS |
DATE_FORMAT
Constructor and Description |
---|
LoggingOutputWriter() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
writeFailure(ContentItem contentItem,
String error,
int attempts) |
void |
writeSuccess(ContentItem contentItem,
String localFilePath,
int attempts) |
protected static final String SUCCESS
protected static final String FAILURE
public void writeSuccess(ContentItem contentItem, String localFilePath, int attempts)
writeSuccess
in interface OutputWriter
public void writeFailure(ContentItem contentItem, String error, int attempts)
writeFailure
in interface OutputWriter
public void close()
close
in interface OutputWriter
Copyright © 2009–2015 DuraSpace. All rights reserved.