public abstract class ContentGenerator extends Object
| Modifier and Type | Field and Description |
|---|---|
protected ProjectInformation |
projectInformation |
| Constructor and Description |
|---|
ContentGenerator(ProjectInformation projectInformation) |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkPathExist(Path path) |
void |
copyDescriptorFile() |
static void |
copyFile(Path originPath,
Path destinationPath,
String destinationFileName) |
protected void |
copyPomFile() |
abstract void |
createContent()
It create all the package content in the required folders
|
protected void |
createMavenDescriptors() |
protected void |
createPomProperties() |
protected final ProjectInformation projectInformation
public ContentGenerator(ProjectInformation projectInformation)
public abstract void createContent()
throws IOException
IOExceptionpublic void copyDescriptorFile()
throws IOException
IOExceptionprotected void copyPomFile()
throws IOException
IOExceptionpublic static void checkPathExist(Path path)
public static void copyFile(Path originPath, Path destinationPath, String destinationFileName) throws IOException
IOExceptionprotected void createPomProperties()
protected void createMavenDescriptors()
throws IOException
IOExceptionCopyright © 2018 MuleSoft Inc. All rights reserved.