Skip navigation links

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

E17493-04


oracle.ideimpl.webupdate.task
Class TaskList

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList
              extended by oracle.ideimpl.webupdate.task.TaskList

All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.lang.Iterable, java.util.Collection, java.util.List, java.util.RandomAccess

public final class TaskList
extends java.util.ArrayList

A set of sequential tasks.

See Also:
Serialized Form

Field Summary

 

Fields inherited from class java.util.AbstractList
modCount

 

Constructor Summary
TaskList()
           

 

Method Summary
 void executeAll(TaskContext tc, AbstractProgressMonitor mon)
          Execute all tasks in the list.
 void load(java.net.URL url)
          Load a list of tasks.
 void save(java.net.URL url)
          Save the task list to the specified url.

 

Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, removeRange, set, size, toArray, toArray, trimToSize

 

Methods inherited from class java.util.AbstractList
equals, hashCode, iterator, listIterator, listIterator, subList

 

Methods inherited from class java.util.AbstractCollection
containsAll, removeAll, retainAll, toString

 

Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.util.List
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList

 

Constructor Detail

TaskList

public TaskList()

Method Detail

save

public void save(java.net.URL url)
          throws java.io.IOException
Save the task list to the specified url.
Parameters:
url - the URL to save the task list to.
Throws:
java.io.IOException - if the task list could not be saved.

load

public void load(java.net.URL url)
          throws java.io.IOException
Load a list of tasks. The existing task list will be replaced.
Parameters:
url -
Throws:
java.io.IOException

executeAll

public void executeAll(TaskContext tc,
                       AbstractProgressMonitor mon)
                throws TaskFailedException
Execute all tasks in the list.
Parameters:
tc - the context in which to run the tasks.
Throws:
TaskFailedException - if a task failed. All tasks will have been rolled back.

Skip navigation links

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

E17493-04


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