public class TestBackupContainerWriter extends Object implements BackupContainerWriter
| Constructor and Description |
|---|
TestBackupContainerWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachments(Collection<AttachmentInfo> attachments) |
void |
addDescriptionProperty(String name,
String value) |
void |
addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors) |
void |
clear() |
void |
close() |
Optional<EntityObjectReadyForExport> |
getObject(Class<?> entityClass,
Object id) |
List<EntityObjectReadyForExport> |
getObjectsOfClass(Class<?> entityClass) |
File |
getOutputFile() |
void |
reset() |
void |
writeObjects(Collection<EntityObjectReadyForExport> objects) |
public void writeObjects(Collection<EntityObjectReadyForExport> objects)
writeObjects in interface BackupContainerWriterpublic void addAttachments(Collection<AttachmentInfo> attachments)
addAttachments in interface BackupContainerWriterpublic void addDescriptionProperty(String name, String value)
addDescriptionProperty in interface BackupContainerWriterpublic void addPluginModuleData(List<? extends com.atlassian.plugin.ModuleDescriptor<BackupRestoreProvider>> moduleDescriptors)
addPluginModuleData in interface BackupContainerWriterpublic void close()
close in interface BackupContainerWriterclose in interface AutoCloseablepublic File getOutputFile()
getOutputFile in interface BackupContainerWriterpublic void reset()
public List<EntityObjectReadyForExport> getObjectsOfClass(Class<?> entityClass)
public Optional<EntityObjectReadyForExport> getObject(Class<?> entityClass, Object id)
public void clear()
Copyright © 2003–2022 Atlassian. All rights reserved.