public abstract class SVNAdminAreaFactory
extends java.lang.Object
implements java.lang.Comparable
Modifier and Type | Field and Description |
---|---|
static int |
WC_FORMAT_13 |
static int |
WC_FORMAT_14 |
static int |
WC_FORMAT_15 |
static int |
WC_FORMAT_16 |
Constructor and Description |
---|
SVNAdminAreaFactory() |
Modifier and Type | Method and Description |
---|---|
static SVNAdminArea |
changeWCFormat(SVNAdminArea adminArea,
int format) |
static int |
checkWC(java.io.File path,
boolean useSelector) |
static int |
checkWC(java.io.File path,
boolean useSelector,
java.util.logging.Level logLevel) |
int |
compareTo(java.lang.Object o) |
static void |
createVersionedDirectory(java.io.File path,
java.lang.String url,
java.lang.String rootURL,
java.lang.String uuid,
long revNumber,
SVNDepth depth) |
static void |
createVersionedDirectory(java.io.File path,
SVNURL url,
SVNURL rootURL,
java.lang.String uuid,
long revNumber,
SVNDepth depth) |
protected abstract SVNAdminArea |
doChangeWCFormat(SVNAdminArea area) |
protected abstract int |
doCheckWC(java.io.File path,
java.util.logging.Level logLevel) |
protected abstract void |
doCreateVersionedDirectory(java.io.File path,
java.lang.String url,
java.lang.String rootURL,
java.lang.String uuid,
long revNumber,
SVNDepth depth) |
protected abstract SVNAdminArea |
doOpen(java.io.File path,
int version) |
static ISVNAdminAreaFactorySelector |
getSelector() |
abstract int |
getSupportedVersion() |
protected abstract int |
getVersion(java.io.File path) |
static boolean |
isUpgradeEnabled() |
static SVNAdminArea |
open(java.io.File path,
java.util.logging.Level logLevel) |
protected static void |
registerFactory(SVNAdminAreaFactory factory) |
static void |
setSelector(ISVNAdminAreaFactorySelector selector) |
static void |
setUpgradeEnabled(boolean enabled) |
static SVNAdminArea |
upgrade(SVNAdminArea area) |
public static final int WC_FORMAT_13
public static final int WC_FORMAT_14
public static final int WC_FORMAT_15
public static final int WC_FORMAT_16
public static void setUpgradeEnabled(boolean enabled)
public static boolean isUpgradeEnabled()
public static void setSelector(ISVNAdminAreaFactorySelector selector)
public static ISVNAdminAreaFactorySelector getSelector()
public static int checkWC(java.io.File path, boolean useSelector) throws SVNException
SVNException
public static int checkWC(java.io.File path, boolean useSelector, java.util.logging.Level logLevel) throws SVNException
SVNException
public static SVNAdminArea open(java.io.File path, java.util.logging.Level logLevel) throws SVNException
SVNException
public static SVNAdminArea upgrade(SVNAdminArea area) throws SVNException
SVNException
public static SVNAdminArea changeWCFormat(SVNAdminArea adminArea, int format) throws SVNException
SVNException
public static void createVersionedDirectory(java.io.File path, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revNumber, SVNDepth depth) throws SVNException
SVNException
public static void createVersionedDirectory(java.io.File path, SVNURL url, SVNURL rootURL, java.lang.String uuid, long revNumber, SVNDepth depth) throws SVNException
SVNException
public abstract int getSupportedVersion()
protected abstract int getVersion(java.io.File path) throws SVNException
SVNException
protected abstract SVNAdminArea doOpen(java.io.File path, int version) throws SVNException
SVNException
protected abstract SVNAdminArea doChangeWCFormat(SVNAdminArea area) throws SVNException
SVNException
protected abstract void doCreateVersionedDirectory(java.io.File path, java.lang.String url, java.lang.String rootURL, java.lang.String uuid, long revNumber, SVNDepth depth) throws SVNException
SVNException
protected abstract int doCheckWC(java.io.File path, java.util.logging.Level logLevel) throws SVNException
SVNException
protected static void registerFactory(SVNAdminAreaFactory factory)
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
Copyright © 2004-2012 TMate Software Ltd. All Rights Reserved.