public abstract class ProjectTemplate extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
path |
protected ProjectDTO |
project |
| Constructor and Description |
|---|
ProjectTemplate(ProjectDTO project) |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
buildFiles() |
void |
buildProject() |
abstract void |
buildStructure() |
protected void |
copyResource(String resourcePath,
File destPath,
String fileName) |
protected void |
copyStructure(String destPath,
String template) |
protected String |
createParentDir(String path) |
protected String |
getBasePathName() |
protected ProjectDTO project
protected String path
public ProjectTemplate(ProjectDTO project)
public final void buildProject()
throws IOException
IOExceptionpublic abstract void buildStructure()
throws IOException
IOExceptionpublic abstract void buildFiles()
throws IOException
IOExceptionprotected String createParentDir(String path) throws IOException
IOExceptionprotected void copyStructure(String destPath, String template) throws IOException
IOExceptionprotected String getBasePathName()
protected void copyResource(String resourcePath, File destPath, String fileName) throws IOException
IOExceptionCopyright © 2021 VILT Group. All rights reserved.