@Nonnull public final Jcr with(@Nonnull ThreeWayConflictHandler conflictHandler) { ensureRepositoryIsNotCreated(); this.conflictHandler.addHandler(checkNotNull(conflictHandler)); return this; }
@NotNull public final Jcr with(@NotNull ThreeWayConflictHandler conflictHandler) { ensureRepositoryIsNotCreated(); this.conflictHandler.addHandler(checkNotNull(conflictHandler)); return this; }
@NotNull public final Jcr with(@NotNull ThreeWayConflictHandler conflictHandler) { ensureRepositoryIsNotCreated(); this.conflictHandler.addHandler(checkNotNull(conflictHandler)); return this; }
@NotNull public Oak with(@NotNull ThreeWayConflictHandler conflictHandler) { checkNotNull(conflictHandler); withEditorHook(); if (this.conflictHandler == null) { if (conflictHandler instanceof CompositeConflictHandler) { this.conflictHandler = (CompositeConflictHandler) conflictHandler; } else { this.conflictHandler = new CompositeConflictHandler(); this.conflictHandler.addHandler(conflictHandler); } commitHooks.add(new ConflictHook(conflictHandler)); } else { this.conflictHandler.addHandler(conflictHandler); } return this; }
@Nonnull public Oak with(@Nonnull ThreeWayConflictHandler conflictHandler) { checkNotNull(conflictHandler); withEditorHook(); if (this.conflictHandler == null) { if (conflictHandler instanceof CompositeConflictHandler) { this.conflictHandler = (CompositeConflictHandler) conflictHandler; } else { this.conflictHandler = new CompositeConflictHandler(); this.conflictHandler.addHandler(conflictHandler); } commitHooks.add(new ConflictHook(conflictHandler)); } else { this.conflictHandler.addHandler(conflictHandler); } return this; }
@NotNull public Oak with(@NotNull ThreeWayConflictHandler conflictHandler) { checkNotNull(conflictHandler); withEditorHook(); if (this.conflictHandler == null) { if (conflictHandler instanceof CompositeConflictHandler) { this.conflictHandler = (CompositeConflictHandler) conflictHandler; } else { this.conflictHandler = new CompositeConflictHandler(); this.conflictHandler.addHandler(conflictHandler); } commitHooks.add(new ConflictHook(conflictHandler)); } else { this.conflictHandler.addHandler(conflictHandler); } return this; }