JDeveloper SCM API

oracle.ide.scm
Class SCMClientAdapter

java.lang.Object
  |
  +--oracle.ide.scm.SCMClientAdapter
All Implemented Interfaces:
oracle.ide.addin.Addin, SCMClient
Direct Known Subclasses:
SCMSimpleClient

public abstract class SCMClientAdapter
extends java.lang.Object
implements SCMClient

Adapter class for easier implementation of SCMClient.


Constructor Summary
SCMClientAdapter()
           
 
Method Summary
 void detectClient()
          Does not perform any actions for client detection.
 void finishClient()
          Does not perform any actions for intermediate client finalization.
 SCMCheckoutLister getCheckoutLister()
          Gets a null checkout lister definition for the client.
 SCMFileSystem getFileSystem()
          Gets a null version filesystem for the client.
 SCMOperationSet getOperations()
          Gets an empty operation set for the client.
 SCMPropertyCustomizer getPropertyCustomizer()
          Gets a null property customizer definition for the client.
 SCMFileStatus getStatus(SCMFile file)
          Gets a null status for the file.
 boolean isSourceControlEnabled()
          Gets a verdict of false for source control enablement.
 void prepareClient()
          Does not perform any actions for intermediate client initialization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.ide.scm.SCMClient
getSCMName, getSCMShortName
 
Methods inherited from interface oracle.ide.addin.Addin
canShutdown, ideVersion, initialize, shutdown, version
 

Constructor Detail

SCMClientAdapter

public SCMClientAdapter()
Method Detail

detectClient

public void detectClient()
                  throws SCMException
Does not perform any actions for client detection.
Specified by:
detectClient in interface SCMClient
Following copied from interface: oracle.ide.scm.SCMClient
Throws:
SCMException - if the client is absent or cannot be facilitated.

prepareClient

public void prepareClient()
                   throws SCMException
Does not perform any actions for intermediate client initialization.
Specified by:
prepareClient in interface SCMClient
Following copied from interface: oracle.ide.scm.SCMClient
Throws:
SCMException - if an error occurs in preparing the client for use.

getOperations

public SCMOperationSet getOperations()
                              throws SCMException
Gets an empty operation set for the client.
Specified by:
getOperations in interface SCMClient
Returns:
a new operation set.

getFileSystem

public SCMFileSystem getFileSystem()
Gets a null version filesystem for the client.
Specified by:
getFileSystem in interface SCMClient
Returns:
null.

getCheckoutLister

public SCMCheckoutLister getCheckoutLister()
Gets a null checkout lister definition for the client.
Specified by:
getCheckoutLister in interface SCMClient
Returns:
null.

getPropertyCustomizer

public SCMPropertyCustomizer getPropertyCustomizer()
Gets a null property customizer definition for the client.
Specified by:
getPropertyCustomizer in interface SCMClient
Returns:
null

getStatus

public SCMFileStatus getStatus(SCMFile file)
                        throws SCMException
Gets a null status for the file.
Specified by:
getStatus in interface SCMClient
Returns:
null.

isSourceControlEnabled

public boolean isSourceControlEnabled()
Gets a verdict of false for source control enablement.
Specified by:
isSourceControlEnabled in interface SCMClient
Returns:
false.

finishClient

public void finishClient()
                  throws SCMException
Does not perform any actions for intermediate client finalization.
Specified by:
finishClient in interface SCMClient
Following copied from interface: oracle.ide.scm.SCMClient
Throws:
SCMException - if an error occurs in finishing the client session.

Copyright © 2002 Oracle Corporation