Package com.atlassian.confluence.upgrade
Class AttachmentMigratorToV4Reporter
- java.lang.Object
-
- com.atlassian.confluence.upgrade.AttachmentMigratorToV4Reporter
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class AttachmentMigratorToV4Reporter extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AttachmentMigratorToV4Reporter.OutputStreamWriterFactory
-
Field Summary
Fields Modifier and Type Field Description static String
V_3_TO_V_4_REPORT_LOG
-
Constructor Summary
Constructors Constructor Description AttachmentMigratorToV4Reporter(AttachmentMigratorToV4Reporter.OutputStreamWriterFactory factory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
initFile(com.atlassian.dc.filestore.api.compat.FilesystemPath path)
void
reportFailedFile(String path, String reason)
void
writeMessage(String message)
-
-
-
Field Detail
-
V_3_TO_V_4_REPORT_LOG
public static final String V_3_TO_V_4_REPORT_LOG
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AttachmentMigratorToV4Reporter
public AttachmentMigratorToV4Reporter(AttachmentMigratorToV4Reporter.OutputStreamWriterFactory factory)
-
-
Method Detail
-
initFile
public void initFile(com.atlassian.dc.filestore.api.compat.FilesystemPath path) throws IOException
- Throws:
IOException
-
writeMessage
public void writeMessage(String message)
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-