public class ExtensionApplicationStructureGenerator extends Object implements org.mule.munit.remote.api.project.ApplicationStructureGenerator
| Constructor and Description |
|---|
ExtensionApplicationStructureGenerator(Path originFolder,
String groupId,
String artifactId,
ApplicationPomGenerator applicationPomGenerator,
byte[] pomPropertiesContent,
byte[] muleArtifactJsonContent) |
| Modifier and Type | Method and Description |
|---|---|
Path |
generate(Path destinationFolder,
org.mule.munit.remote.api.configuration.RunConfiguration runConfiguration) |
protected byte[] |
generatePomXml(org.mule.munit.remote.api.configuration.RunConfiguration runConfiguration) |
ExtensionApplicationStructureGenerator |
withArchiver(org.mule.tools.api.packager.archiver.MuleArchiver archiver) |
ExtensionApplicationStructureGenerator |
withSourcesFolder(File sourcesFolder) |
public ExtensionApplicationStructureGenerator(Path originFolder, String groupId, String artifactId, ApplicationPomGenerator applicationPomGenerator, byte[] pomPropertiesContent, byte[] muleArtifactJsonContent)
public ExtensionApplicationStructureGenerator withSourcesFolder(File sourcesFolder)
public ExtensionApplicationStructureGenerator withArchiver(org.mule.tools.api.packager.archiver.MuleArchiver archiver)
public Path generate(Path destinationFolder, org.mule.munit.remote.api.configuration.RunConfiguration runConfiguration) throws Exception
generate in interface org.mule.munit.remote.api.project.ApplicationStructureGeneratorExceptionprotected byte[] generatePomXml(org.mule.munit.remote.api.configuration.RunConfiguration runConfiguration)
throws IOException
IOExceptionCopyright © 2019. All rights reserved.