org.tigris.subversion.svnclientadapter
public abstract class SVNClientAdapterFactory extends java.lang.Object
Constructor and Description |
---|
SVNClientAdapterFactory() |
Modifier and Type | Method and Description |
---|---|
static ISVNClientAdapter |
createSVNClient(java.lang.String clientType)
creates a new ISVNClientAdapter.
|
protected abstract ISVNClientAdapter |
createSVNClientImpl()
Real Factories should implement these methods.
|
protected abstract java.lang.String |
getClientType() |
static java.lang.String |
getPreferredSVNClientType() |
static boolean |
isSVNClientAvailable(java.lang.String clientType)
tells if the given clientType is available or not
|
protected static void |
registerAdapterFactory(SVNClientAdapterFactory factory)
Extenders should register themselves with this method.
|
protected abstract ISVNClientAdapter createSVNClientImpl()
protected abstract java.lang.String getClientType()
public static ISVNClientAdapter createSVNClient(java.lang.String clientType)
clientType
- public static boolean isSVNClientAvailable(java.lang.String clientType)
clientType
- public static java.lang.String getPreferredSVNClientType() throws SVNClientException
SVNClientException
protected static void registerAdapterFactory(SVNClientAdapterFactory factory) throws SVNClientException
SVNClientException
- when factory with specified type is already registered.