com.borland.primetime.teamdev.vcs
Class VCSFactory
java.lang.Object
|
+--com.borland.primetime.teamdev.vcs.VCSFactory
- public class VCSFactory
- extends java.lang.Object
The VCSFactory is used to register all the available Version Control Systems available in JBuilder.
To make a VCS backend availanle in JBuilder, in the VCS property page, it must register itself calling
the addVCS()
method.
Method Summary |
static void |
addVCS(VCS vcs)
This method must be called by each VCS back-end to be registered as an available VCS. |
static java.lang.String[] |
getNames()
Returns the list of names of registered VCS back-ends. |
static VCS |
getVCS(java.lang.String vcsName)
Returns the object associated with a name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VCSFactory
public VCSFactory()
addVCS
public static void addVCS(VCS vcs)
- This method must be called by each VCS back-end to be registered as an available VCS.
getNames
public static java.lang.String[] getNames()
- Returns the list of names of registered VCS back-ends.
getVCS
public static VCS getVCS(java.lang.String vcsName)
- Returns the object associated with a name.