IBM Rational Software Modeler
Release 6.0

com.ibm.xtools.ras.impord
Interface IImportService


public interface IImportService

The primary interface used to perform the import of a RAS asset. It is not intended to be implemented by clients. Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability.


Method Summary
 IStatus performImport(IImportDataModel importDataModel, IAuxiliaryImportServices auxiliaryServices, IProgressMonitor progressMonitor)
          Performs the import by processing all registered import tasks.
 IStatus performImport(IImportDataModel importDataModel, IProgressMonitor progressMonitor)
          Performs the import by processing all registered import tasks.
 

Method Detail

performImport

public IStatus performImport(IImportDataModel importDataModel,
                             IProgressMonitor progressMonitor)
Performs the import by processing all registered import tasks.

Parameters:
importDataModel - is the data model that specifies all input and options to the performImport operation.
progressMonitor - allows for monitoring the progress of the operation. It may be null, if monitoring is not required.
Returns:
IStatus for status of import operation. IStatus can potentially have children, so clients are advised to traverse the entire status tree to get the full picture.
  • IStatus.OK if the import executed without any problems
  • IStatus.INFO if the import executed successfully, but there were messages to report to the client
  • IStatus.WARNING if the import executed successfully, but there were either warnings or non-fatal errors reported.
  • IStatus.ERROR if there were errors during the execution of the import that caused the import to be aborted.

performImport

public IStatus performImport(IImportDataModel importDataModel,
                             IAuxiliaryImportServices auxiliaryServices,
                             IProgressMonitor progressMonitor)
Performs the import by processing all registered import tasks.

Parameters:
importDataModel - is the data model that specifies all input and options to the performImport operation.
auxiliaryServices - is the set of auxiliary services required to perform the operation. If this parameter is null, it is equivalent to calling performOperation(importDataModel, progressMonitor)
progressMonitor - allows for monitoring the progress of the operation. It may be null, if monitoring is not required.
Returns:
IStatus for status of import operation. IStatus can potentially have children, so clients are advised to traverse the entire status tree to get the full picture.
  • IStatus.OK if the import executed without any problems
  • IStatus.INFO if the import executed successfully, but there were messages to report to the client
  • IStatus.WARNING if the import executed successfully, but there were either warnings or non-fatal errors reported.
  • IStatus.ERROR if there were errors during the execution of the import that caused the import to be aborted.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp. and others 2004. All rights reserved.