Search in sources :

Example 6 with BranchDumpEntry

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

the class BranchEntryProcessor method processLine.

@Override
public boolean processLine(final String line) throws IOException {
    final EntryLoadResult.Builder result = EntryLoadResult.create();
    final BranchDumpEntry branchDumpEntry = this.serializer.toBranchMetaEntry(line);
    final VersionMeta meta = branchDumpEntry.getMeta();
    addNode(result, branchDumpEntry, meta);
    this.result = result.build();
    return true;
}
Also used : VersionMeta(com.enonic.xp.repo.impl.dump.model.VersionMeta) BranchDumpEntry(com.enonic.xp.repo.impl.dump.model.BranchDumpEntry)

Aggregations

BranchDumpEntry (com.enonic.xp.repo.impl.dump.model.BranchDumpEntry)6 Node (com.enonic.xp.node.Node)3 Test (org.junit.jupiter.api.Test)3 AbstractNodeTest (com.enonic.xp.repo.impl.node.AbstractNodeTest)2 AttachedBinary (com.enonic.xp.node.AttachedBinary)1 NodeVersionMetadata (com.enonic.xp.node.NodeVersionMetadata)1 VersionMeta (com.enonic.xp.repo.impl.dump.model.VersionMeta)1