Search in sources :

Example 1 with VersionsDumpEntry

use of com.enonic.xp.repo.impl.dump.model.VersionsDumpEntry in project xp by enonic.

the class VersionEntryProcessor method processLine.

@Override
public boolean processLine(final String line) throws IOException {
    final EntryLoadResult.Builder result = EntryLoadResult.create();
    final VersionsDumpEntry nodeVersionsEntry = this.serializer.toNodeVersionsEntry(line);
    final Set<VersionMeta> versions = nodeVersionsEntry.getVersions();
    addVersions(result, nodeVersionsEntry, versions);
    this.result = result.build();
    return true;
}
Also used : VersionMeta(com.enonic.xp.repo.impl.dump.model.VersionMeta) VersionsDumpEntry(com.enonic.xp.repo.impl.dump.model.VersionsDumpEntry)

Aggregations

VersionMeta (com.enonic.xp.repo.impl.dump.model.VersionMeta)1 VersionsDumpEntry (com.enonic.xp.repo.impl.dump.model.VersionsDumpEntry)1