|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.apps.fnd.applcore.flex.runtime.ModelerTask oracle.apps.fnd.applcore.flex.runtime.MonitoredModelerTask oracle.apps.fnd.applcore.flex.runtime.resource.BundleReplicationTask
public class BundleReplicationTask
A task that creates new resource bundles for a list of languages from existing replicable resource bundles.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class oracle.apps.fnd.applcore.flex.runtime.ModelerTask |
---|
ModelerTask.State |
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
bundleSearchPaths
The paths where the bundles are. |
protected java.util.List<java.lang.String> |
languages
The list of language codes. |
Constructor Summary | |
---|---|
protected |
BundleReplicationTask(java.util.List<java.lang.String> languages,
java.util.List<java.lang.String> bundleSearchPaths)
Constructs a task. |
|
BundleReplicationTask(java.lang.String... languages)
Constructs a task for replicating all bundles found in /oracle/apps. |
Method Summary | |
---|---|
static void |
exportReplicableBundles(java.util.List<java.lang.String> searchPaths,
java.lang.String exportPath,
java.io.PrintWriter stdOut,
boolean browseOnly)
Exports all replicable bundles from MDS repository in the current ADF context. |
void |
performMonitoredTask(ModelerListener listener)
Performs the task that needs to be monitored. |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.MonitoredModelerTask |
---|
notifyProgress, perform |
Methods inherited from class oracle.apps.fnd.applcore.flex.runtime.ModelerTask |
---|
newProgressTracker |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final java.util.List<java.lang.String> languages
protected final java.util.List<java.lang.String> bundleSearchPaths
Constructor Detail |
---|
public BundleReplicationTask(java.lang.String... languages)
languages
- the list of language codesprotected BundleReplicationTask(java.util.List<java.lang.String> languages, java.util.List<java.lang.String> bundleSearchPaths)
languages
- the list of language codesbundleSearchPaths
- the paths where the bundles to be repilcated areMethod Detail |
---|
public void performMonitoredTask(ModelerListener listener)
MonitoredModelerTask
performMonitoredTask
in class MonitoredModelerTask
listener
- the listenerpublic static final void exportReplicableBundles(java.util.List<java.lang.String> searchPaths, java.lang.String exportPath, java.io.PrintWriter stdOut, boolean browseOnly) throws oracle.mds.exception.MDSException, java.io.FileNotFoundException
searchPaths
- the paths where the replicable bundles are. If null or
empty, the default search path (which is usually
"/oracle/apps") is used.exportPath
- the file system path to export tostdOut
- the standard output for log messages. If null, System.out
is used.*browseOnly
- true if only the list of files is needed. The list of
files is printed to stdOut. If set to true, exportPath
is ignored.
oracle.mds.exception.MDSException
- if an error occurs while exporting the bundles
java.io.FileNotFoundException
- if the given export path does not exist
java.lang.NullPointerException
- if the given export path is null
|
Oracle Fusion Middleware extensions for Applications Core API Reference 11g Release 7 (11.1.7) E22562-07 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |