Skip navigation links

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

E13403-06


oracle.jdevimpl.audit.profile
Class ProfileMigrator

java.lang.Object
  extended by oracle.jdevimpl.audit.profile.ProfileMigrator

All Implemented Interfaces:
Migrator, URLFilter

public class ProfileMigrator
extends java.lang.Object
implements Migrator, URLFilter

A migrator for Audit profiles.


Field Summary

 

Fields inherited from interface oracle.ide.migration.Migrator
JDEV_HOME_DIR, SYSTEM_DIR

 

Constructor Summary
ProfileMigrator()
           

 

Method Summary
 boolean accept(java.net.URL url)
           
 boolean canMigrate(int category, java.io.File sourceSystemDir)
          Determine whether a given category can be migrated from a given directory.
 java.lang.String getDescription(int category)
          Get a one line description for a given migration category.
 int[] getMigrationCategories()
          Get an array of unique id values representing available categories to migrate.
 boolean isSelected(int category)
          Determine whether a category has been flagged for migration.
 java.lang.String[] migrate(java.io.File sourceSystemDir, java.io.File targetSystemDir)
          Migrate all flagged categories, from a given source directory, to a given destination directory.
 void setSelected(int category, boolean selected)
          Flag a category as selected for migration.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Methods inherited from interface oracle.ide.net.URLFilter
equals, toString

 

Constructor Detail

ProfileMigrator

public ProfileMigrator()

Method Detail

getMigrationCategories

public int[] getMigrationCategories()
Description copied from interface: Migrator
Get an array of unique id values representing available categories to migrate.
Specified by:
getMigrationCategories in interface Migrator

canMigrate

public boolean canMigrate(int category,
                          java.io.File sourceSystemDir)
Description copied from interface: Migrator
Determine whether a given category can be migrated from a given directory.
Specified by:
canMigrate in interface Migrator

getDescription

public java.lang.String getDescription(int category)
Description copied from interface: Migrator
Get a one line description for a given migration category. A null result implies that no UI should be presented to the user for the given category.
Specified by:
getDescription in interface Migrator

isSelected

public boolean isSelected(int category)
Description copied from interface: Migrator
Determine whether a category has been flagged for migration.
Specified by:
isSelected in interface Migrator

setSelected

public void setSelected(int category,
                        boolean selected)
Description copied from interface: Migrator
Flag a category as selected for migration.
Specified by:
setSelected in interface Migrator

migrate

public java.lang.String[] migrate(java.io.File sourceSystemDir,
                                  java.io.File targetSystemDir)
Description copied from interface: Migrator
Migrate all flagged categories, from a given source directory, to a given destination directory. Does nothing if no categories have been flagged for migration.
Specified by:
migrate in interface Migrator

accept

public boolean accept(java.net.URL url)
Specified by:
accept in interface URLFilter
Parameters:
url - The URL that is being filtered.
Returns:
true if this filter allows the specified URL is allowed to be displayed or included. Returns false otherwise.

Skip navigation links

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

E13403-06


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