Class CocktailInstantiator

  • All Implemented Interfaces:
    net.ssehub.easy.instantiation.core.model.vilTypes.IVilType

    public class CocktailInstantiator
    extends java.lang.Object
    implements net.ssehub.easy.instantiation.core.model.vilTypes.IVilType
    The SAP cocktail instantiator.
    Author:
    Holger Eichelberger
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact> cocktailInstantiator​(net.ssehub.easy.instantiation.core.model.vilTypes.Collection<JavaFileArtifact> artifacts, net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact resolution)
      Compiles source to target.
      static net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact> cocktailInstantiator​(net.ssehub.easy.instantiation.core.model.vilTypes.Project target)
      Does the standard job of the cocktain instantiator.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CocktailInstantiator

        public CocktailInstantiator()
    • Method Detail

      • cocktailInstantiator

        public static net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact> cocktailInstantiator​(net.ssehub.easy.instantiation.core.model.vilTypes.Project target)
                                                                                                                                                               throws net.ssehub.easy.instantiation.core.model.common.VilException
        Does the standard job of the cocktain instantiator.
        Parameters:
        target - the target project
        Returns:
        the created artifacts
        Throws:
        net.ssehub.easy.instantiation.core.model.common.VilException - in case that something fails
      • cocktailInstantiator

        public static net.ssehub.easy.instantiation.core.model.vilTypes.Set<net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact> cocktailInstantiator​(net.ssehub.easy.instantiation.core.model.vilTypes.Collection<JavaFileArtifact> artifacts,
                                                                                                                                                                      net.ssehub.easy.instantiation.core.model.artifactModel.FileArtifact resolution)
        Compiles source to target.
        Parameters:
        artifacts - the artifacts to process
        resolution - the cocktail resolution file
        Returns:
        the created artifacts