public interface RepositoryExporter
Modifier and Type | Method and Description |
---|---|
void |
close()
Finishes writing exported repository and closes all open resources.
|
void |
storeHeader(java.util.Properties header)
Writes header information into exported repository.
|
void |
storeHeader(java.util.Properties header,
java.lang.String subProcess)
Writes header information into exported sub process repository.
|
void |
storeRecord(RepositoryLogRecord record)
Writes log record into exported repository.
|
void storeHeader(java.util.Properties header)
header
- Header information related to all consequent log records.void storeHeader(java.util.Properties header, java.lang.String subProcess)
storeRecord(RepositoryLogRecord)
.header
- Header information related to all consequent log records.subProcess
- String identifier of the sub process. Use the key corresponding to the
sub process used in ServerInstanceLogRecordList.getChildren()
map.void storeRecord(RepositoryLogRecord record)
storeHeader(Properties)
will result in IllegalStateException
being thrown.record
- log record to be exported.void close()
storeHeader(Properties)
or storeRecord(RepositoryLogRecord)
after calling close()
will result in IllegalStateException
being thrown.