Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.9)
E10659-11


oracle.integration.platform.blocks.migration
Class ComponentInstanceResultFactory

java.lang.Object
  extended by oracle.integration.platform.blocks.migration.ComponentInstanceResultFactory


public class ComponentInstanceResultFactory
extends java.lang.Object

Method Summary
 ComponentInstanceMigrationResult create(ComponentInstanceMigrationReport report)
          Creates a result from a report.
 ComponentInstanceMigrationResult create(java.lang.String componentName, java.lang.String componentType, java.lang.String instanceId, boolean migrated, java.lang.String failureReason)
           
static ComponentInstanceResultFactory getInstance()
           

 

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

 

Method Detail

getInstance

public static ComponentInstanceResultFactory getInstance()

create

public ComponentInstanceMigrationResult create(java.lang.String componentName,
                                               java.lang.String componentType,
                                               java.lang.String instanceId,
                                               boolean migrated,
                                               java.lang.String failureReason)
Parameters:
componentName - The name of the component
componentType - The type of the component
instanceId - The instance identifier
migrated - Whether the instance was successfully migrated
failureReason - The reason for failure, if the instance was not migrated; otherwise, null.
Returns:
A ComponentInstanceMigrationResult object

create

public ComponentInstanceMigrationResult create(ComponentInstanceMigrationReport report)
Creates a result from a report. This is intended to be used for incompatible instances for which the migration attempt can be skipped since it will fail anyway.
Parameters:
report - A ComponentInstanceMigrationReport
Returns:
A ComponentInstanceMigrationResult for the specified report.

Skip navigation links

Oracle Fusion Middleware Infrastructure Management Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.9)
E10659-11


Copyright © 2010, 2015, Oracle and/or its affiliates. All rights reserved.