Package | Description |
---|---|
org.netbeans.modules.gradle.java.api |
Modifier and Type | Method and Description |
---|---|
GradleJavaSourceSet.SourceType |
GradleJavaSourceSet.getSourceType(File f)
Returns the
GradleJavaSourceSet.SourceType of the given file or null if that
file cannot be associated with one. |
static GradleJavaSourceSet.SourceType |
GradleJavaSourceSet.SourceType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradleJavaSourceSet.SourceType[] |
GradleJavaSourceSet.SourceType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
File |
GradleJavaSourceSet.findResource(String name,
boolean includeOutputs,
GradleJavaSourceSet.SourceType... types)
Tries to find a resource given by its relative path name in the
directories associated with this SourceSet.
|
String |
GradleJavaSourceSet.getBuildTaskName(GradleJavaSourceSet.SourceType type) |
List<String> |
GradleJavaSourceSet.getCompilerArgs(GradleJavaSourceSet.SourceType type)
Returns the compiler arguments for this source set defined for the given
language.
|
File |
GradleJavaSourceSet.getCompilerJavaHome(GradleJavaSourceSet.SourceType type)
Returns the JDK Home directory of the JVM what would be used during the
compilation.
|
File |
GradleJavaSourceSet.getOutputClassDir(GradleJavaSourceSet.SourceType srcType)
Returns output directories for the given source type in the sourceset.
|
Set<File> |
GradleJavaSourceSet.getSourceDirs(GradleJavaSourceSet.SourceType type) |
String |
GradleJavaSourceSet.getSourcesCompatibility(GradleJavaSourceSet.SourceType type)
This method returns the source compatibility defined for this source
set for the given language type.
|
String |
GradleJavaSourceSet.getTargetCompatibility(GradleJavaSourceSet.SourceType type)
This method returns the target compatibility defined for this source
set for the given language type.
|