org.eclipse.cosmos.rm.repository.internal.operations
Class FileExportOperation
java.lang.Object
org.eclipse.cosmos.rm.repository.internal.operations.AbstractListenerManager
org.eclipse.cosmos.rm.repository.internal.operations.AbstractSMLOperation
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:
- A
ISMLDocument[] containing the document that should be included as part of
the export operation
- A
Map that stores the aliases - can be null
- A
RuleBinding[] indicating the rule bindings - can be null
- A
SMLIFIdentity indicating the SML-IF identity
| 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 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 |
FileExportOperation
public FileExportOperation(org.eclipse.cosmos.rm.repository.provisional.core.ISMLRepository repository)
- Constructor
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()