JDeveloper SCM API

oracle.ide.scm
Class SCMFileSystemAdapter

java.lang.Object
  |
  +--oracle.ide.scm.SCMFileSystemAdapter
All Implemented Interfaces:
SCMFileSystem

public abstract class SCMFileSystemAdapter
extends java.lang.Object
implements SCMFileSystem

Adapter class for easier implementation of SCMFileSystem.


Constructor Summary
SCMFileSystemAdapter()
           
 
Method Summary
 void add(SCMFile[] files)
          Throws a unsupported operation exception.
 void edit(SCMFile[] files)
          Throws a unsupported operation exception.
protected  SCMOperationRuntime getRuntime()
          Convenience method for easily referencing the framework's runtime operation provider.
 boolean isAddSupported()
          Returns false to indicate that the add(oracle.ide.scm.SCMFile[]) method is unsupported.
 boolean isEditSupported()
          Returns false to indicate that the edit(oracle.ide.scm.SCMFile[]) method is unsupported.
 boolean isMoveSupported()
          Returns false to indicate that the move(oracle.ide.scm.SCMFile[], oracle.ide.scm.SCMFile[]) method is unsupported.
 boolean isRemoveSupported()
          Returns false to indicate that the remove(oracle.ide.scm.SCMFile[]) method is unsupported.
 void move(SCMFile[] srcs, SCMFile[] dsts)
          Throws a unsupported operation exception.
 void remove(SCMFile[] files)
          Throws a unsupported operation exception.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SCMFileSystemAdapter

public SCMFileSystemAdapter()
Method Detail

isAddSupported

public boolean isAddSupported()
Returns false to indicate that the add(oracle.ide.scm.SCMFile[]) method is unsupported.
Specified by:
isAddSupported in interface SCMFileSystem
Returns:
false.

add

public void add(SCMFile[] files)
         throws SCMException
Throws a unsupported operation exception. This method will not be called unless its corresponding support query method returns with true.
Specified by:
add in interface SCMFileSystem
Throws:
java.lang.UnsupportedOperationException - always, since this method is not supported.

isEditSupported

public boolean isEditSupported()
Returns false to indicate that the edit(oracle.ide.scm.SCMFile[]) method is unsupported.
Specified by:
isEditSupported in interface SCMFileSystem
Returns:
false.

edit

public void edit(SCMFile[] files)
          throws SCMException
Throws a unsupported operation exception. This method will not be called unless its corresponding support query method returns with true.
Specified by:
edit in interface SCMFileSystem
Throws:
java.lang.UnsupportedOperationException - always, since this method is not supported.

isMoveSupported

public boolean isMoveSupported()
Returns false to indicate that the move(oracle.ide.scm.SCMFile[], oracle.ide.scm.SCMFile[]) method is unsupported.
Specified by:
isMoveSupported in interface SCMFileSystem
Returns:
false.

move

public void move(SCMFile[] srcs,
                 SCMFile[] dsts)
          throws SCMException
Throws a unsupported operation exception. This method will not be called unless its corresponding support query method returns with true.
Specified by:
move in interface SCMFileSystem
Throws:
java.lang.UnsupportedOperationException - always, since this method is not supported.

isRemoveSupported

public boolean isRemoveSupported()
Returns false to indicate that the remove(oracle.ide.scm.SCMFile[]) method is unsupported.
Specified by:
isRemoveSupported in interface SCMFileSystem
Returns:
false.

remove

public void remove(SCMFile[] files)
            throws SCMException
Throws a unsupported operation exception. This method will not be called unless its corresponding support query method returns with true.
Specified by:
remove in interface SCMFileSystem
Throws:
java.lang.UnsupportedOperationException - always, since this method is not supported.

getRuntime

protected final SCMOperationRuntime getRuntime()
Convenience method for easily referencing the framework's runtime operation provider.
Returns:
the operation runner of the framework.

Copyright © 2002 Oracle Corporation