Class CocktailInstantiator
- java.lang.Object
-
- net.ssehub.easy.instantiation.java.instantiators.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.IVilTypeThe SAP cocktail instantiator.- Author:
- Holger Eichelberger
-
-
Constructor Summary
Constructors Constructor Description CocktailInstantiator()
-
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)Compilessourcetotarget.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.
-
-
-
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.VilExceptionDoes 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)
Compilessourcetotarget.- Parameters:
artifacts- the artifacts to processresolution- the cocktail resolution file- Returns:
- the created artifacts
-
-