Package org.drools.codegen.common
Class AppPaths
java.lang.Object
org.drools.codegen.common.AppPaths
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAppPaths(List<Path> projectPaths, Collection<Path> classesPaths, boolean isJar, AppPaths.BuildTool bt, String resourcesBasePath, boolean isTest) -
Method Summary
-
Field Details
-
TARGET_DIR
-
GENERATED_SOURCES_DIR
-
GENERATED_RESOURCES_DIR
-
BT
-
SRC_DIR
- See Also:
-
RESOURCES_DIR
- See Also:
-
MAIN_DIR
- See Also:
-
TEST_DIR
- See Also:
-
-
Constructor Details
-
AppPaths
protected AppPaths(List<Path> projectPaths, Collection<Path> classesPaths, boolean isJar, AppPaths.BuildTool bt, String resourcesBasePath, boolean isTest) - Parameters:
projectPaths-classesPaths-isJar-bt-resourcesBasePath- "main" or "test"
-
-
Method Details
-
fromProjectDir
-
fromTestDir
Builder to be used only for tests, where all resources must be present in "src/test/resources" directory- Parameters:
projectDir-- Returns:
-
getPaths
-
getFirstProjectPath
-
getResourceFiles
-
getResourcePaths
-
getSourcePaths
-
getClassesPaths
-
getOutputTarget
-
toString
-