# com.bea.ide.sourcecontrol
SourceControlSvc.I Interface

public static interface SourceControlSvc.I

Service interface to interact with source control services that may be available.

All Known Subinterfaces
  `SourceControlSvc.IAdvanced`

Enclosing class
  `SourceControlSvc`

## Method Summary

`public boolean` | `canPerform`(int actionType, `URI`[] paths) Checks to see if an SCM system is available to perform an action on the URIs.
`public boolean` | `pathUnderSCM`(`URI` path) Returns true if the path is being managed by this service.
`public boolean` | `perform`(int actionType, `URI`[] paths) Perform an action on the URIs.
`public boolean` | `performDialog`(int actionType, `URI`[] paths) Same as perform, but may display dialogs.

## Method Detail

### canPerform(int, URI[]) Method

    public boolean canPerform(int actionType,
                              URI[] paths)

Checks to see if an SCM system is available to perform an action on the URIs. Returns true if only one SCM system can perform the action on all the URIs.

### pathUnderSCM(URI) Method

    public boolean pathUnderSCM(URI path)

Returns true if the path is being managed by this service. Will return true if the file pointed to by the path is not in source control, but is available for adding to source control.

### perform(int, URI[]) Method

    public boolean perform(int actionType,
                           URI[] paths)

Perform an action on the URIs. Will not display any dialogs. Returns true if only one SCM system can perform the action on all the URIs and if the action itself succeeeded.

### performDialog(int, URI[]) Method

    public boolean performDialog(int actionType,
                                 URI[] paths)

Same as perform, but may display dialogs.

Related Topics

``SourceControlSvc.I.perform(int, URI[])``