Extension SDK 10.1.2

oracle.ide.vcs
Interface VCS

All Known Subinterfaces:
VCSExtension
All Known Implementing Classes:
VCSAbstractExtension

public interface VCS

Interface to the version control system implementation.

Since:
9.0.5

Field Summary
static int COMMAND_VCS_ADD
          Command identifier for 'add'-style version operations.
static int COMMAND_VCS_CHECK_OUT
          Command identifier for 'check out'-style version operations.
static int COMMAND_VCS_CHECK_OUT_DOCUMENT
          Command identifier for 'document check out'-style version operations.
static int COMMAND_VCS_REMOVE
          Command identifier for 'remove'-style version operations.
 
Method Summary
 java.lang.Class getCommand(int id)
          Gets the version command provider class for the specified identifier.
 VCSStatus[] getStatus(java.net.URL[] urls)
          Gets version control statuses for the given URLs.
 

Field Detail

COMMAND_VCS_ADD

public static final int COMMAND_VCS_ADD
Command identifier for 'add'-style version operations. Commands of this kind execute on the selection of the context and may display a dialog.

See Also:
Constant Field Values

COMMAND_VCS_CHECK_OUT

public static final int COMMAND_VCS_CHECK_OUT
Command identifier for 'check out'-style version operations. Commands of this kind execute on the selection of the context and may display a dialog.

See Also:
Constant Field Values

COMMAND_VCS_CHECK_OUT_DOCUMENT

public static final int COMMAND_VCS_CHECK_OUT_DOCUMENT
Command identifier for 'document check out'-style version operations. Commands of this kind operate only on the document of their context object, execute silently, and are usually undoable.

See Also:
Constant Field Values

COMMAND_VCS_REMOVE

public static final int COMMAND_VCS_REMOVE
Command identifier for 'remove'-style version operations. Commands of this kind execute on the selection of the context and may display a dialog.

See Also:
Constant Field Values
Method Detail

getCommand

public java.lang.Class getCommand(int id)
Gets the version command provider class for the specified identifier.

Parameters:
id - a constant identifying the required command type.
Returns:
the command class. (null-capable)

getStatus

public VCSStatus[] getStatus(java.net.URL[] urls)
                      throws java.lang.Exception
Gets version control statuses for the given URLs. This method may be called concurrently from different threads.

Parameters:
urls - an array of URLs for the status query.
Returns:
the resulting array of statuses, corresponding by index.
Throws:
java.lang.Exception - if a critical exception occurred.

Extension SDK

 

Copyright © 1997, 2004, Oracle. All rights reserved.