Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.flex.runtime.util
Class BCModelerTaskGroup

java.lang.Object
  extended by oracle.apps.fnd.applcore.flex.runtime.ModelerTaskGroup
      extended by oracle.apps.fnd.applcore.flex.runtime.util.BCModelerTaskGroup

public class BCModelerTaskGroup
extends ModelerTaskGroup

A task group that contains multiple modeler tasks. By using a task group, the performance of multiple modeler tasks is optimized.

There are certain restrictions on which modeler tasks can be performed by this class:

The default implementation of taskActionPerformed, taskFinished, taskInterrupted and taskStarting in this class contains only calls to log(String) in this class. Subclasses may override taskActionPerformed, taskFinished, taskInterrupted or taskStarting without calling the super method first. If subclasses choose to call the super methods to display the original messages, log(String) may be overriden to redirect the output. By default the messages are printed out by System.out.println.


Nested Class Summary
 
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.ModelerTaskGroup
ModelerTaskGroup.ExecutionContext
 
Field Summary
 
Fields inherited from class oracle.apps.fnd.applcore.flex.runtime.ModelerTaskGroup
_listener, _taskList
 
Constructor Summary
BCModelerTaskGroup(java.util.List<BCModeler.Arguments> argsList)
          Constructs a task group with a list of modeler arguments.
BCModelerTaskGroup(java.util.List<BCModeler.Arguments> argsList, ModelerSandbox sandbox)
          Constructs a task group with a list of modeler arguments.
 
Method Summary
protected  java.util.List<java.lang.String> getObjectPackages()
          Gets the list of packages of objects to be updated or created by this task group.
 
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.ModelerTaskGroup
getPreferredApplCoreSandbox, getPreferredSandboxName, getServicePackages, newExecutionContext, perform, resetListener, setListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BCModelerTaskGroup

public BCModelerTaskGroup(java.util.List<BCModeler.Arguments> argsList)
Constructs a task group with a list of modeler arguments. The only supported connection URL is "@Configuration".

Parameters:
argsList - the list of arguments
Throws:
java.lang.IllegalArgumentException - if the given list is null or empty, or any of the list element is null
java.lang.UnsupportedOperationException - if any the BCModeler.Arguments has a connection URL other than "@Configuration"

BCModelerTaskGroup

public BCModelerTaskGroup(java.util.List<BCModeler.Arguments> argsList,
                          ModelerSandbox sandbox)
Constructs a task group with a list of modeler arguments. All given tasks will be performed in a sandbox. Note that the only supported connection URL is "@Configuration".

Parameters:
argsList - the list of arguments
sandbox - the sandbox
Throws:
java.lang.IllegalArgumentException - if the given list is null or empty, any of the list element is null, or the given sandbox is null
java.lang.UnsupportedOperationException - if any the BCModeler.Arguments has a connection URL other than "@Configuration"
Method Detail

getObjectPackages

protected java.util.List<java.lang.String> getObjectPackages()
Description copied from class: ModelerTaskGroup
Gets the list of packages of objects to be updated or created by this task group.

Overrides:
getObjectPackages in class ModelerTaskGroup
Returns:
the list of packages of objects to be updated or created by this task group

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.