SourceControlSvc Class

com.bea.ide.sourcecontrol
SourceControlSvc Class

public class SourceControlSvc

    extends Object

The methods in this service should never be directly exposed to the user but rather driven by change events in the application, like renaming a file in the project tree or creating a new document. These actions can thus automatically manipulate the file in the SCM in a meaningful way. For instance, if the user deletes a file in the application, the delete action can have the SCM also delete it from the server.

The user will see SCM-specific actions in their UI, but these actions are exposed by the SCMBuilder for the specific SCM strategy class, not by this service.


Hierarchy
Object
  SourceControlSvc

Nested Class Summary

public static interfaceSourceControlSvc.I
           Service interface to interact with source control services that may be available.
public static interfaceSourceControlSvc.IAdvanced
           Advanced interface not normally used.
public static interfaceSourceControlSvc.SourceControlState
           This interface is a marker interface used with the state objects for FileSystemEvent's generated by the source control service.

Field Summary

public static final int
ADD
Determines if files can be added to SCM.
public static final int
DELETE
Determines if files can be deleted from SCM.
public static final int
EDIT
Determines if files can be edited (checked out) from SCM.
public static final int
EXISTS
Determines if files are known to the SCM.
public static final int
RENAME
Determines if files can be moved or renamed with SCM.
 

Constructor Summary

SourceControlSvc()

 

Method Summary

public static SourceControlSvc.I
get()
public static SourceControlSvc.IAdvanced
getAdvanced()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

ADD

public static final int ADD
Determines if files can be added to SCM.


DELETE

public static final int DELETE
Determines if files can be deleted from SCM.


EDIT

public static final int EDIT
Determines if files can be edited (checked out) from SCM.


EXISTS

public static final int EXISTS
Determines if files are known to the SCM. The file may exist on disk but may not be in the SCM system because it has never been added, in which case this action should return false.


RENAME

public static final int RENAME
Determines if files can be moved or renamed with SCM.

 

Constructor Detail

SourceControlSvc

public SourceControlSvc()
 

Method Detail

get() Method

public static SourceControlSvc.I get()

getAdvanced() Method

public static SourceControlSvc.IAdvanced getAdvanced()