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.


Method Summary
 org.eclipse.core.runtime.IStatus performImport(IImportDataModel importDataModel, org.eclipse.core.runtime.IProgressMonitor progressMonitor)
          Performs the import by processing all registered import tasks.
 

Method Detail

performImport

public org.eclipse.core.runtime.IStatus performImport(IImportDataModel importDataModel,
                                                      org.eclipse.core.runtime.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.

IBM Rational Software Modeler
Release 6.0


Guidelines for using Eclipse APIs.

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