Class ATLProperties

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,​java.lang.Object>

    public class ATLProperties
    extends java.util.Properties
    Stores ATL launch parameters which are not provided by an ATL file.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String LIBRARIES_ID
      The id of the libraries properties inside of the ATL property file.
      static java.lang.String METAMODELS_ID
      The id of the metamodels properties inside of the ATL property file.
      static java.lang.String MODULES_ID
      The id of the modules property inside of the ATL property file.
      static java.lang.String OPTIONS_ID
      The id of the options properties inside of the ATL property file.
      • Fields inherited from class java.util.Properties

        defaults
    • Constructor Summary

      Constructors 
      Constructor Description
      ATLProperties​(org.eclipse.core.resources.IFile file)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.core.resources.IFile getIFile()  
      java.util.Map<java.lang.String,​java.lang.String> getLibraryLocations()  
      java.util.Map<java.lang.String,​java.lang.String> getMetamodelLocations()  
      java.util.Map<java.lang.String,​java.lang.String> getOptions()  
      org.eclipse.core.resources.IFile[] getTransformationFiles()
      Returns the transformation files.
      • Methods inherited from class java.util.Properties

        clear, clone, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, get, getOrDefault, getProperty, getProperty, hashCode, isEmpty, keys, keySet, list, list, load, load, loadFromXML, merge, propertyNames, put, putAll, putIfAbsent, rehash, remove, remove, replace, replace, replaceAll, save, setProperty, size, store, store, storeToXML, storeToXML, storeToXML, stringPropertyNames, toString, values
      • Methods inherited from class java.lang.Object

        finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • MODULES_ID

        public static final java.lang.String MODULES_ID
        The id of the modules property inside of the ATL property file.
        See Also:
        Constant Field Values
      • METAMODELS_ID

        public static final java.lang.String METAMODELS_ID
        The id of the metamodels properties inside of the ATL property file.
        See Also:
        Constant Field Values
      • LIBRARIES_ID

        public static final java.lang.String LIBRARIES_ID
        The id of the libraries properties inside of the ATL property file.
        See Also:
        Constant Field Values
      • OPTIONS_ID

        public static final java.lang.String OPTIONS_ID
        The id of the options properties inside of the ATL property file.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ATLProperties

        public ATLProperties​(org.eclipse.core.resources.IFile file)
                      throws java.io.IOException,
                             org.eclipse.core.runtime.CoreException
        Constructor.
        Parameters:
        file - the property file
        Throws:
        java.io.IOException
        org.eclipse.core.runtime.CoreException
    • Method Detail

      • getIFile

        public org.eclipse.core.resources.IFile getIFile()
      • getMetamodelLocations

        public java.util.Map<java.lang.String,​java.lang.String> getMetamodelLocations()
      • getOptions

        public java.util.Map<java.lang.String,​java.lang.String> getOptions()
      • getLibraryLocations

        public java.util.Map<java.lang.String,​java.lang.String> getLibraryLocations()
      • getTransformationFiles

        public org.eclipse.core.resources.IFile[] getTransformationFiles()
        Returns the transformation files.
        Returns:
        the transformation files