|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.jdeveloper.vcs.spi.VCSSingleNodeObserver
public class VCSSingleNodeObserver
Observer class to flush a status cache on node events, including reloading and file save notifications.
| Constructor Summary | |
|---|---|
VCSSingleNodeObserver()
Constructs a new VCSSingleNodeObserver whose VCSStatusCache and, optionally, URLFilter may be
subsequently set using the setStatusCache(VCSStatusCache) and
setURLFilter(URLFilter) methods. |
|
VCSSingleNodeObserver(VCSStatusCache cache,
URLFilter urlfilter)
Deprecated. replaced by VCSSingleNodeObserver(VCSStatusCache,URLFilter,String). |
|
VCSSingleNodeObserver(VCSStatusCache cache,
URLFilter urlfilter,
java.lang.String vcsId)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
clearStatusCacheParentURLs(java.net.URL url)
Clears the internal status cache for any parent directories. |
oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> |
getPolicyStatusCache()
|
VCSStatusCache |
getStatusCache()
Deprecated. replaced by getStatusCacheBridge() and getPolicyStatusCache(). |
oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> |
getStatusCacheBridge()
|
java.lang.String |
getSystemId()
Gets the VCS extension ID of the observer. |
URLFilter |
getURLFilter()
Gets the url filter of this save observer. |
void |
handleMessage(VCSEBMessage message)
Handles a message sent on the VCSEventBus. |
protected boolean |
isSaveStateChange(java.net.URL url)
Returns true if the specified url can change state due to a save operation. |
protected void |
nodeReloaded(java.net.URL url)
Responds to notification that a node object has been reloaded. |
protected void |
nodeRenamed(java.net.URL oldUrl,
java.net.URL newUrl)
Responds to notification that a node object has been renamed. |
protected void |
nodeSaved(java.net.URL url)
Deprecated. replaced by nodeSaved(URL[]). |
protected void |
nodeSaved(java.net.URL[] urls)
Responds to notification that node objects have been saved. |
void |
setPolicyStatusCache(oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> cache)
Sets the status cache of this save observer. |
void |
setStatusCache(VCSStatusCache cache)
Deprecated. replaced by setStatusCacheBridge(oracle.jdeveloper.vcs.cache.StatusCacheBridge and setPolicyStatusCache(oracle.jdeveloper.vcs.cache.StatusCache. |
void |
setStatusCacheBridge(oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> cache)
Sets the status cache of this save observer. |
void |
setSystemId(java.lang.String systemId)
Sets the VCS extension ID of the observer. |
void |
setURLFilter(URLFilter filter)
Sets the url filter of this save observer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public VCSSingleNodeObserver()
VCSSingleNodeObserver whose VCSStatusCache and, optionally, URLFilter may be
subsequently set using the setStatusCache(VCSStatusCache) and
setURLFilter(URLFilter) methods.
@Deprecated
public VCSSingleNodeObserver(VCSStatusCache cache,
URLFilter urlfilter)
VCSSingleNodeObserver(VCSStatusCache,URLFilter,String).
cache - the status cache for the save observer.urlfilter - the URLFilter defining relevant
urls
public VCSSingleNodeObserver(VCSStatusCache cache,
URLFilter urlfilter,
java.lang.String vcsId)
cache - the status cache for the save observer.urlfilter - the URLFilter defining relevant
urlsvcsId - the VCS extension ID.| Method Detail |
|---|
@Deprecated public VCSStatusCache getStatusCache()
getStatusCacheBridge() and getPolicyStatusCache().
public oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> getPolicyStatusCache()
public oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> getStatusCacheBridge()
public void setStatusCache(VCSStatusCache cache)
setStatusCacheBridge(oracle.jdeveloper.vcs.cache.StatusCacheBridge) and setPolicyStatusCache(oracle.jdeveloper.vcs.cache.StatusCache) .
handleMessage(VCSEBMessage) is
not defined.
cache - the VCSStatusCache.public void setStatusCacheBridge(oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> cache)
handleMessage(VCSEBMessage) is
not defined.
cache - the StatusCacheBridge.public void setPolicyStatusCache(oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> cache)
handleMessage(VCSEBMessage) is
not defined.
cache - the StatusCache.public URLFilter getURLFilter()
URLFilter.public void setURLFilter(URLFilter filter)
handleMessage(VCSEBMessage) is
not defined.
filter - the required URLFilter.public java.lang.String getSystemId()
public void setSystemId(java.lang.String systemId)
systemId - the VCS extension ID.protected boolean isSaveStateChange(java.net.URL url)
url - the URL to check
protected void clearStatusCacheParentURLs(java.net.URL url)
url - the URL whose parents should be cleared from the status cache.protected void nodeSaved(java.net.URL url)
nodeSaved(URL[]).
url - the URL of the saved object.protected void nodeSaved(java.net.URL[] urls)
urls - the URLs of the saved objects.protected void nodeReloaded(java.net.URL url)
url - the URL of the reloaded object.
protected void nodeRenamed(java.net.URL oldUrl,
java.net.URL newUrl)
oldUrl - the old URL of the renamed object.newUrl - the new URL of the renamed object.public void handleMessage(VCSEBMessage message)
VCSEBComponentVCSEventBus.
handleMessage in interface VCSEBComponentmessage - the message to handle.
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.4.0) E17493-05 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||