|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.tigris.subversion.svnclientadapter.SVNClientAdapterFactory
public abstract class SVNClientAdapterFactory
Abstract Factory for SVNClientAdapter. Real factories should extend this class and register themselves with the method #registerAdapterFactory
Constructor Summary | |
---|---|
SVNClientAdapterFactory()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SVNClientAdapterFactory()
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |