public class VCSControlCache
extends java.util.Observable
Singleton class caching associations between known URLs and the VCSExtensions controlling them.
VCSExtension.isControlled(URL)| Modifier and Type | Method and Description | 
|---|---|
void | 
fireControlStateChanged(java.lang.String vcsId)
Fires a notification that the control state for the given extension has
 changed. 
 | 
static VCSControlCache | 
getInstance()
Gets the singleton instance of this class. 
 | 
boolean | 
isControlled(java.net.URL url,
            java.lang.String vcsId)
Asks whether the given URL is controlled by the given extension. 
 | 
static void | 
resetExtensions()  | 
public static final VCSControlCache getInstance()
public boolean isControlled(java.net.URL url,
                   java.lang.String vcsId)
url - the URL.vcsId - an extension ID.public void fireControlStateChanged(java.lang.String vcsId)
vcsId - the extension ID.public static final void resetExtensions()