public final class ClassPathSupportFactory extends Object
Modifier and Type | Method and Description |
---|---|
static ClassPathImplementation |
createBootClassPathImplementation(PropertyEvaluator evaluator)
Creates implementation of BOOT classpath based on project's
platform.active
property. |
static ClassPathImplementation |
createBootClassPathImplementation(PropertyEvaluator evaluator,
ClassPath endorsedClassPath)
Creates implementation of BOOT classpath based on project's
platform.active
property and given endorsed classpath which will have precedence of platform classpath. |
static ClassPathImplementation |
createBootClassPathImplementation(PropertyEvaluator evaluator,
ClassPath endorsedClassPath,
String platformType)
Creates implementation of BOOT classpath based on project's
platform.active
property and given endorsed classpath which will have precedence of platform classpath. |
static ClassPathImplementation |
createBootClassPathImplementation(PropertyEvaluator evaluator,
Project project,
ClassPath endorsedClassPath,
String platformType) |
static ClassPathImplementation |
createModuleInfoBasedPath(ClassPath base,
ClassPath sourceRoots,
ClassPath systemModules,
ClassPath userModules,
ClassPath legacyClassPath,
java.util.function.Function<URL,Boolean> filter) |
static ClassPathImplementation |
createSourcePathImplementation(SourceRoots sourceRoots,
AntProjectHelper projectHelper,
PropertyEvaluator evaluator)
Creates implementation of SOURCE classpath for given source roots and project
assuming build classes folder is stored in property
build.dir . |
public static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator)
platform.active
property.evaluator
- project's property evaluatorpublic static ClassPathImplementation createBootClassPathImplementation(PropertyEvaluator evaluator, ClassPath endorsedClassPath)
platform.active
property and given endorsed classpath which will have precedence of platform classpath.evaluator
- project's property evaluatorendorsedClassPath
- endorsed classpath to prepend to boot classpathpublic static ClassPathImplementation createBootClassPathImplementation(@NonNull PropertyEvaluator evaluator, @NullAllowed ClassPath endorsedClassPath, @NullAllowed String platformType)
platform.active
property and given endorsed classpath which will have precedence of platform classpath.evaluator
- project's property evaluatorendorsedClassPath
- endorsed classpath to prepend to boot classpathplatformType
- the type of JavaPlatform
public static ClassPathImplementation createBootClassPathImplementation(@NonNull PropertyEvaluator evaluator, @NullAllowed Project project, @NullAllowed ClassPath endorsedClassPath, @NullAllowed String platformType)
public static ClassPathImplementation createSourcePathImplementation(SourceRoots sourceRoots, AntProjectHelper projectHelper, PropertyEvaluator evaluator)
build.dir
.sourceRoots
- project source rootsprojectHelper
- AntProjectHelperevaluator
- PropertyEvaluatorpublic static ClassPathImplementation createModuleInfoBasedPath(@NonNull ClassPath base, @NonNull ClassPath sourceRoots, @NonNull ClassPath systemModules, @NonNull ClassPath userModules, @NullAllowed ClassPath legacyClassPath, @NullAllowed java.util.function.Function<URL,Boolean> filter)
base
- sourceRoots
- systemModules
- userModules
- legacyClassPath
- filter
-