Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.jdeveloper.vcs.spi
Class VCSSingleSaveObserver

java.lang.Object
  extended by oracle.jdeveloper.vcs.spi.VCSSingleSaveObserver
All Implemented Interfaces:
Observer

Deprecated. replaced by VCSSingleNodeObserver.

public class VCSSingleSaveObserver
extends java.lang.Object
implements Observer

Observer class to flush a status cache on file save notifications.

Since:
9.0.5

Constructor Summary
VCSSingleSaveObserver(VCSStatusCache cache)
          Deprecated. Constructor.
 
Method Summary
protected  void clearStatusCache(java.net.URL url)
          Deprecated. Clears the internal status cache for the given URL, and any parent directories.
 oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> getPolicyStatusCache()
          Deprecated.  
 VCSStatusCache getStatusCache()
          Deprecated. replaced by getStatusCacheBridge() and getPolicyStatusCache().
 oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> getStatusCacheBridge()
          Deprecated.  
protected  boolean isStateChange(java.net.URL url)
          Deprecated. Returns true if the specified url can change state due to a save operation.
 void update(java.lang.Object observed, UpdateMessage change)
          Deprecated. Notification message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSSingleSaveObserver

public VCSSingleSaveObserver(VCSStatusCache cache)
Deprecated. 
Constructor.

Parameters:
cache - the status cache for the save observer.
Method Detail

getStatusCache

@Deprecated
public VCSStatusCache getStatusCache()
Deprecated. replaced by getStatusCacheBridge() and getPolicyStatusCache().

Gets the status cache of this save observer.

Returns:
the status cache.

getPolicyStatusCache

public oracle.jdeveloper.vcs.cache.StatusCache<VCSStatus> getPolicyStatusCache()
Deprecated. 

getStatusCacheBridge

public oracle.jdeveloper.vcs.cache.StatusCacheBridge<VCSStatus> getStatusCacheBridge()
Deprecated. 

isStateChange

protected boolean isStateChange(java.net.URL url)
Deprecated. 
Returns true if the specified url can change state due to a save operation. By default, returns true regardless of the specified url.

Parameters:
url - the url to check
Returns:
true if saving the specified url can cause a state change.

clearStatusCache

protected void clearStatusCache(java.net.URL url)
Deprecated. 
Clears the internal status cache for the given URL, and any parent directories.

Parameters:
url - the url to clear from the status cache.

update

public void update(java.lang.Object observed,
                   UpdateMessage change)
Deprecated. 
Description copied from interface: Observer
Notification message. Subjects call this method when they notify their observers that the subjects state has changed.

Specified by:
update in interface Observer
Parameters:
observed - the subject whose state has changed.
change - what has changed.

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

Copyright © 1997, 2011, Oracle. All rights reserved.