COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.repository.internal.operations
Class FileExportOperation

java.lang.Object
  extended by org.eclipse.cosmos.rm.repository.internal.operations.AbstractListenerManager
      extended by org.eclipse.cosmos.rm.repository.internal.operations.AbstractSMLOperation
          extended by org.eclipse.cosmos.rm.repository.internal.operations.FileExportOperation
All Implemented Interfaces:
org.eclipse.cosmos.rm.repository.provisional.operations.ISMLExportOperation, org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation

public class FileExportOperation
extends AbstractSMLOperation
implements org.eclipse.cosmos.rm.repository.provisional.operations.ISMLExportOperation

The implementation of the file export operation. This operation accepts the following arguments in the order listed below:

  1. A ISMLDocument[] containing the document that should be included as part of the export operation
  2. A Map that stores the aliases - can be null
  3. A RuleBinding[] indicating the rule bindings - can be null
  4. A SMLIFIdentity indicating the SML-IF identity


Field Summary
 
Fields inherited from interface org.eclipse.cosmos.rm.repository.provisional.operations.ISMLExportOperation
ID
 
Constructor Summary
FileExportOperation(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository)
          Constructor
 
Method Summary
 java.lang.String getId()
          Returns the unique ID of this operation.
 void run()
          Executes this operation.
 
Methods inherited from class org.eclipse.cosmos.rm.repository.internal.operations.AbstractSMLOperation
addArgument, checkType, checkType, checkType, getArguments, getRepository, setArguments, setRepository
 
Methods inherited from class org.eclipse.cosmos.rm.repository.internal.operations.AbstractListenerManager
addProgressListener, getProgressListeners, removeProgressListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation
addArgument, addProgressListener, removeProgressListener, setArguments
 

Constructor Detail

FileExportOperation

public FileExportOperation(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository)
Constructor

Method Detail

getId

public java.lang.String getId()
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation
Returns the unique ID of this operation. The ID is expected to be unique amongst the supported operations of a repository

Specified by:
getId in interface org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation
Returns:
The unique ID of this operation
See Also:
ISMLOperation.getId()

run

public void run()
         throws org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
Description copied from interface: org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation
Executes this operation.

Specified by:
run in interface org.eclipse.cosmos.rm.repository.provisional.operations.ISMLOperation
Throws:
org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException - In case of any error
See Also:
ISMLOperation.run()

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification