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 OutputWriterpublic void writeFailure(ContentItem contentItem, String error, int attempts)
writeFailure in interface OutputWriterpublic void close()
close in interface OutputWriterCopyright © 2009–2017 DuraSpace. All rights reserved.