Package org.drools.codegen.common
Class AppPaths
- java.lang.Object
-
- org.drools.codegen.common.AppPaths
-
public class AppPaths extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAppPaths.BuildTool
-
Field Summary
Fields Modifier and Type Field Description static StringTARGET_DIR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AppPathsfromProjectDir(Path projectDir, Path outputTarget)static AppPathsfromQuarkus(Path outputTarget, Iterable<Path> paths, AppPaths.BuildTool bt)static AppPathsfromTestDir(Path projectDir)Builder to be used only for tests, where all resources must be present in "src/test/resources" directoryCollection<Path>getClassesPaths()PathgetFirstProjectPath()PathgetOutputTarget()Path[]getPaths()File[]getResourceFiles()Path[]getResourcePaths()Path[]getSourcePaths()StringtoString()
-
-
-
Field Detail
-
TARGET_DIR
public static final String TARGET_DIR
- See Also:
- Constant Field Values
-
-
Method Detail
-
fromQuarkus
public static AppPaths fromQuarkus(Path outputTarget, Iterable<Path> paths, AppPaths.BuildTool bt)
-
fromTestDir
public static AppPaths fromTestDir(Path projectDir)
Builder to be used only for tests, where all resources must be present in "src/test/resources" directory- Parameters:
projectDir-- Returns:
-
getPaths
public Path[] getPaths()
-
getFirstProjectPath
public Path getFirstProjectPath()
-
getResourceFiles
public File[] getResourceFiles()
-
getResourcePaths
public Path[] getResourcePaths()
-
getSourcePaths
public Path[] getSourcePaths()
-
getClassesPaths
public Collection<Path> getClassesPaths()
-
getOutputTarget
public Path getOutputTarget()
-
-