|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.repository.internal.operations.ImportOperation
public class ImportOperation
Import model structure from an SML-IF file.
| Constructor Summary | |
|---|---|
ImportOperation(FileSystemSMLRepository repository)
Constructor |
|
| Method Summary | |
|---|---|
void |
importFromFileSystemFile(java.lang.String resource,
java.lang.String destination)
Import a SML-IF file into the work space, creating files and model structure for definition and instance documents, and also capturing extra meta-data in a separate file (hidden from user, but preserved for future exports). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImportOperation(FileSystemSMLRepository repository)
repository - The repository| Method Detail |
|---|
public void importFromFileSystemFile(java.lang.String resource,
java.lang.String destination)
throws org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
resource - Name of an SML-IF file to be imported. Expected to be absolute path on file system.destination - Name of output directory. Expected to be relative to the workspace.
ImportException
org.eclipse.cosmos.rm.repository.provisional.exception.RepositoryOperationException
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||