Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

oracle.ide.vcs
Class VCSTask

java.lang.Object
  extended by javax.swing.SwingWorker<java.lang.Boolean,java.lang.String>
      extended by oracle.ide.vcs.VCSTask
All Implemented Interfaces:
java.lang.Runnable, java.util.concurrent.Future<java.lang.Boolean>, java.util.concurrent.RunnableFuture<java.lang.Boolean>

public abstract class VCSTask
extends javax.swing.SwingWorker<java.lang.Boolean,java.lang.String>

Task class for version control operations performed through VCSManager. This class may be specialized by version control API consumers interested in the progress of the asynchronous operation and returning the flow of control to the AWT event thread on completion. Progress is monitored through the bound SwingWorker property progress, a percentage value. The task does not (yet) publish additional data pertaining to the operation.

Since:
11.1.1.0.0 (Bulldog)

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.SwingWorker
javax.swing.SwingWorker.StateValue
 
Constructor Summary
protected VCSTask(java.net.URL[] urls)
          Constructs a new VCSTask for the given URLs.
 
Method Summary
protected  java.lang.Boolean doInBackground()
           
 java.net.URL[] getURLs()
          Gets the URLs associated with this task.
 
Methods inherited from class javax.swing.SwingWorker
addPropertyChangeListener, cancel, done, execute, firePropertyChange, get, get, getProgress, getPropertyChangeSupport, getState, isCancelled, isDone, process, publish, removePropertyChangeListener, run, setProgress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCSTask

protected VCSTask(java.net.URL[] urls)
Constructs a new VCSTask for the given URLs.

Parameters:
urls - the URLs to be processed.
Method Detail

getURLs

public final java.net.URL[] getURLs()
Gets the URLs associated with this task.

Returns:
the task URLs.

doInBackground

protected final java.lang.Boolean doInBackground()
Specified by:
doInBackground in class javax.swing.SwingWorker<java.lang.Boolean,java.lang.String>

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-03

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