Search in sources :

Example 6 with Generated

use of org.eclipse.vorto.codegen.api.Generated in project vorto by eclipse.

the class ManifestFileModule method generate.

public void generate(ProjectMetaData metaData, InvocationContext invocationContext, IGeneratedWriter outputter) {
    Generated generatedPom = new Generated(FILE_NAME, FOLDER_NAME, template.getContent(metaData, invocationContext));
    outputter.write(generatedPom);
}
Also used : Generated(org.eclipse.vorto.codegen.api.Generated)

Aggregations

Generated (org.eclipse.vorto.codegen.api.Generated)6 IOException (java.io.IOException)3 ByteArrayInputStream (java.io.ByteArrayInputStream)2 Path (java.nio.file.Path)2 HashMap (java.util.HashMap)2 ZipInputStream (java.util.zip.ZipInputStream)2 IGenerationResult (org.eclipse.vorto.codegen.api.IGenerationResult)2 InformationModel (org.eclipse.vorto.core.api.model.informationmodel.InformationModel)2 MappingModel (org.eclipse.vorto.core.api.model.mapping.MappingModel)2 Model (org.eclipse.vorto.core.api.model.model.Model)2 IModelWorkspace (org.eclipse.vorto.server.commons.reader.IModelWorkspace)2 ByteArrayOutputStream (java.io.ByteArrayOutputStream)1 File (java.io.File)1 FileInputStream (java.io.FileInputStream)1 URISyntaxException (java.net.URISyntaxException)1 FileVisitResult (java.nio.file.FileVisitResult)1 Files (java.nio.file.Files)1 Paths (java.nio.file.Paths)1 BasicFileAttributes (java.nio.file.attribute.BasicFileAttributes)1 List (java.util.List)1