public class JkProjectOutLayout
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
deleteDirs()
Delete dirs all directories involved in output production (classes, test classes, test reports, generated sources/resources)
but not the outputDir.
|
java.nio.file.Path |
getClassDir() |
java.nio.file.Path |
getGeneratedResourceDir()
Returns location of generated resources.
|
java.nio.file.Path |
getGeneratedSourceDir()
Returns location of generated sources.
|
java.nio.file.Path |
getGeneratedTestResourceDir()
Returns location of generated resources for tests.
|
java.nio.file.Path |
getJavadocDir() |
java.nio.file.Path |
getOutputPath() |
java.nio.file.Path |
getOutputPath(java.lang.String relativePath) |
java.nio.file.Path |
getTestClassDir() |
java.nio.file.Path |
getTestReportDir() |
static JkProjectOutLayout |
ofClassicJava() |
JkProjectOutLayout |
withClassDir(java.lang.String path) |
JkProjectOutLayout |
withGeneratedResourceDir(java.lang.String path) |
JkProjectOutLayout |
withGeneratedSourceDir(java.lang.String path) |
JkProjectOutLayout |
withGeneratedTestResourceDir(java.lang.String path) |
JkProjectOutLayout |
withOutputDir(java.nio.file.Path newOutputDir) |
JkProjectOutLayout |
withOutputDir(java.lang.String newOutputDirPath) |
JkProjectOutLayout |
withTestClassDir(java.lang.String path) |
JkProjectOutLayout |
withTestReportDir(java.lang.String path) |
public static JkProjectOutLayout ofClassicJava()
public JkProjectOutLayout withOutputDir(java.lang.String newOutputDirPath)
public JkProjectOutLayout withOutputDir(java.nio.file.Path newOutputDir)
public JkProjectOutLayout withGeneratedSourceDir(java.lang.String path)
public JkProjectOutLayout withGeneratedResourceDir(java.lang.String path)
public JkProjectOutLayout withGeneratedTestResourceDir(java.lang.String path)
public JkProjectOutLayout withClassDir(java.lang.String path)
public JkProjectOutLayout withTestClassDir(java.lang.String path)
public JkProjectOutLayout withTestReportDir(java.lang.String path)
public void deleteDirs()
public final java.nio.file.Path getOutputPath()
public java.nio.file.Path getOutputPath(java.lang.String relativePath)
public java.nio.file.Path getClassDir()
public java.nio.file.Path getTestReportDir()
public java.nio.file.Path getTestClassDir()
public java.nio.file.Path getGeneratedSourceDir()
public java.nio.file.Path getGeneratedResourceDir()
public java.nio.file.Path getGeneratedTestResourceDir()
public java.nio.file.Path getJavadocDir()