|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.m2m.atl.adt.runner.CreateRunnableData
public class CreateRunnableData
Stores / Loads ATL launch parameters from:
Constructor Summary | |
---|---|
CreateRunnableData()
|
Method Summary | |
---|---|
java.util.Set<java.lang.String> |
getAllLibrariesNames()
|
java.util.Set<java.lang.String> |
getAllMetamodelsNames()
Aggregates all metamodels names. |
java.util.List<java.lang.String> |
getAllModelsNames()
Aggregates all models names. |
java.lang.Object |
getClassShortName()
|
static org.eclipse.core.resources.IFile |
getFile(java.lang.String path)
Returns the ATL file for a given .atl or .asm path. |
java.lang.String |
getFileType()
|
java.util.Map<java.lang.String,java.lang.String> |
getInModels()
|
java.util.Map<java.lang.String,java.lang.String> |
getInOutModels()
|
java.util.Map<java.lang.String,java.lang.String> |
getLibraryLocations()
|
java.util.Map<java.lang.String,java.lang.String> |
getMetamodelLocations()
|
java.util.List<java.lang.String> |
getModelsToLoadNames()
Aggregates all models to load names. |
java.util.List<java.lang.String> |
getModelsToSaveNames()
Aggregates all models to save names. |
java.util.Map<java.lang.String,java.lang.String> |
getOptions()
|
java.util.Map<java.lang.String,java.lang.String> |
getOutModels()
|
org.eclipse.core.resources.IFile[] |
getTransformationFiles()
|
boolean |
isMetametamodel(java.lang.String metamodelName)
Returns true if the given metamodel is a metametamodel. |
boolean |
isQuery()
|
boolean |
isRefining()
|
void |
load(ATLProperties properties)
Updates the parameters from the given property file. |
void |
load(org.eclipse.debug.core.ILaunchConfiguration configuration)
Updates the parameters from the given launch configuration. |
void |
load(java.lang.String... filePaths)
Updates the parameters from the given transformation files. |
void |
setOptions(java.util.Map<java.lang.String,java.lang.String> options)
|
void |
updateLibraryLocation(java.lang.String name,
java.lang.String location)
Sets the given location for the given library name. |
void |
updateMetamodelLocation(java.lang.String name,
java.lang.String location)
Sets the given location for the given metamodel name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CreateRunnableData()
Method Detail |
---|
public void load(java.lang.String... filePaths) throws java.io.IOException, org.eclipse.core.runtime.CoreException
filePaths
- the transformation file paths
java.io.IOException
org.eclipse.core.runtime.CoreException
public void load(ATLProperties properties) throws java.io.IOException, org.eclipse.core.runtime.CoreException
properties
- the properties
java.io.IOException
org.eclipse.core.runtime.CoreException
public void load(org.eclipse.debug.core.ILaunchConfiguration configuration) throws java.io.IOException, org.eclipse.core.runtime.CoreException
configuration
- the ATL launch configuration
java.io.IOException
org.eclipse.core.runtime.CoreException
public java.lang.Object getClassShortName()
public org.eclipse.core.resources.IFile[] getTransformationFiles()
public java.lang.String getFileType()
public boolean isRefining()
public java.util.Map<java.lang.String,java.lang.String> getInModels()
public java.util.Map<java.lang.String,java.lang.String> getInOutModels()
public java.util.Map<java.lang.String,java.lang.String> getOutModels()
public java.util.Set<java.lang.String> getAllLibrariesNames()
public java.util.Map<java.lang.String,java.lang.String> getLibraryLocations()
public java.util.Map<java.lang.String,java.lang.String> getMetamodelLocations()
public java.util.Map<java.lang.String,java.lang.String> getOptions()
public void updateLibraryLocation(java.lang.String name, java.lang.String location)
name
- the library namelocation
- the library locationpublic void updateMetamodelLocation(java.lang.String name, java.lang.String location)
name
- the metamodel namelocation
- the metamodel locationpublic void setOptions(java.util.Map<java.lang.String,java.lang.String> options)
public java.util.List<java.lang.String> getAllModelsNames()
public java.util.List<java.lang.String> getModelsToLoadNames()
public java.util.List<java.lang.String> getModelsToSaveNames()
public java.util.Set<java.lang.String> getAllMetamodelsNames()
public boolean isMetametamodel(java.lang.String metamodelName)
true
if the given metamodel is a metametamodel.
metamodelName
- the metamodel name
true
if the given metamodel is a metametamodelpublic boolean isQuery()
public static org.eclipse.core.resources.IFile getFile(java.lang.String path)
path
- the file path
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |