Class CocktailInstantiator

  • All Implemented Interfaces:
    IVilType

    public class CocktailInstantiator
    extends java.lang.Object
    implements IVilType
    The SAP cocktail instantiator.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • CocktailInstantiator

        public CocktailInstantiator()
    • Method Detail

      • cocktailInstantiator

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

        public static Set<FileArtifact> cocktailInstantiator​(Collection<JavaFileArtifact> artifacts,
                                                             FileArtifact resolution)
        Compiles source to target.
        Parameters:
        artifacts - the artifacts to process
        resolution - the cocktail resolution file
        Returns:
        the created artifacts