
org.chronos.chronodb.internal.api.BranchManagerInternal Maven / Gradle / Ivy
Show all versions of org.chronos.chronodb.api Show documentation
package org.chronos.chronodb.internal.api;
import java.util.List;
import java.util.Set;
import org.chronos.chronodb.api.BranchManager;
import org.chronos.chronodb.internal.impl.IBranchMetadata;
/**
* An extended version of the {@link BranchManager} interface.
*
*
* This interface and its methods are for internal use only, are subject to change and are not considered to be part of
* the public API. Down-casting objects to internal interfaces may cause application code to become incompatible with
* future releases, and is therefore strongly discouraged.
*
* @author [email protected] -- Initial Contribution and API
*
*/
public interface BranchManagerInternal extends BranchManager {
@Override
public BranchInternal getBranch(String branchName);
/**
* Loads the given branches into the system.
*
*
* It is imperative that the given list of branches is sorted. Parent branches must always occur
* BEFORE child branches in the list!
*
*
* This method is intended for internal use only, when loading dump data.
*
* @param branches
* The sorted list of branches, as indicated above. May be empty, but never null
.
*/
public void loadBranchDataFromDump(List branches);
}