Package org.gradle.tooling.model.eclipse
Schnittstelle EclipseSourceDirectory
- Alle Superschnittstellen:
EclipseClasspathEntry,SourceDirectory
A source directory in an Eclipse project.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungDomainObjectSet<? 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.Von Schnittstelle geerbte Methoden org.gradle.tooling.model.eclipse.EclipseClasspathEntry
getAccessRulesVon Schnittstelle geerbte Methoden org.gradle.tooling.model.SourceDirectory
getDirectory
-
Methodendetails
-
getPath
String getPath()Returns the relative path for this source directory.- Gibt zurück:
- The path for this source directory. Does not return null.
-
getIncludes
Returns the include patterns for this source directory.- Gibt zurück:
- The list of patterns to include. Does not return null.
- Löst aus:
UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.- Seit:
- 3.0
-
getExcludes
Returns the exclude patterns for this source directory.- Gibt zurück:
- The list of patterns to exclude. Does not return null.
- Löst aus:
UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.- Seit:
- 3.0
-
getOutput
Returns the output location of this source directory. Ifnull, then the compiled classes are placed in the project's default output location.- Gibt zurück:
- The output location of this source directory.
- Löst aus:
UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.- Seit:
- 3.0
-
getClasspathAttributes
DomainObjectSet<? extends ClasspathAttribute> getClasspathAttributes() throws UnsupportedMethodExceptionReturns the classpath attributes associated with this classpath entry.- Angegeben von:
getClasspathAttributesin SchnittstelleEclipseClasspathEntry- Gibt zurück:
- The classpath attributes.
- Löst aus:
UnsupportedMethodException- For Gradle versions older than 3.0, where this method is not supported.- Seit:
- 3.0
-