Skip navigation links

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

E17493-04


oracle.ide.model
Class HeadlessMigratorUtil

java.lang.Object
  extended by oracle.ide.model.HeadlessMigratorUtil


public final class HeadlessMigratorUtil
extends java.lang.Object

Method Summary
static boolean failFastIfNodeNeedsMigration(Node node)
          Fail-fast if the supplied node requires migration.
static java.lang.String getNodeNeedsMigrationError(Node node)
           
static boolean nodeNeedsMigration(Node node)
          Generic test for Project and Workspace nodes (HashStructureNodes) to see if they require migration.

 

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

 

Method Detail

nodeNeedsMigration

public static boolean nodeNeedsMigration(Node node)
Generic test for Project and Workspace nodes (HashStructureNodes) to see if they require migration. This is a shallow test, so for Workspaces, only the Workspace migrators are validated and not the children of the Workspace. The validation is not currently implemented for nodes other than Project or Workspace. This method will always return false if such a non-Project/Workspace node is provided.
Parameters:
node - Project or Workspace node
Returns:
true if the node requires migration, false otherwise. If there is an error determining the migrator versions, false is returned

getNodeNeedsMigrationError

public static java.lang.String getNodeNeedsMigrationError(Node node)

failFastIfNodeNeedsMigration

public static boolean failFastIfNodeNeedsMigration(Node node)
Fail-fast if the supplied node requires migration. This can only happen if the IDE is headless and in debug mode.
Parameters:
node -
Returns:

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.