Package org.gradle.tooling.model.eclipse
Interface EclipseSourceDirectory
- All Superinterfaces:
- EclipseClasspathEntry,- SourceDirectory
A source directory in an Eclipse project.
- 
Method SummaryModifier and TypeMethodDescriptionDomainObjectSet<? extends ClasspathAttribute> Returns the classpath attributes associated with this classpath entry.Returns the exclude patterns for this source directory.Returns the include patterns for this source directory.Returns the output location of this source directory.getPath()Returns the relative path for this source directory.Methods inherited from interface org.gradle.tooling.model.eclipse.EclipseClasspathEntrygetAccessRulesMethods inherited from interface org.gradle.tooling.model.SourceDirectorygetDirectory
- 
Method Details- 
getPathString getPath()Returns the relative path for this source directory.- Returns:
- The path for this source directory. Does not return null.
 
- 
getIncludesReturns the include patterns for this source directory.- Returns:
- The list of patterns to include. Does not return null.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.
- Since:
- 3.0
 
- 
getExcludesReturns the exclude patterns for this source directory.- Returns:
- The list of patterns to exclude. Does not return null.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.
- Since:
- 3.0
 
- 
getOutputReturns the output location of this source directory. Ifnull, then the compiled classes are placed in the project's default output location.- Returns:
- The output location of this source directory.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.
- Since:
- 3.0
 
- 
getClasspathAttributesDomainObjectSet<? extends ClasspathAttribute> getClasspathAttributes() throws UnsupportedMethodExceptionReturns the classpath attributes associated with this classpath entry.- Specified by:
- getClasspathAttributesin interface- EclipseClasspathEntry
- Returns:
- The classpath attributes.
- Throws:
- UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.
- Since:
- 3.0
 
 
-