Package org.gradle.tooling.model.idea
Interface IdeaSingleEntryLibraryDependency
-
- All Superinterfaces:
Dependency
,ExternalDependency
,IdeaDependency
public interface IdeaSingleEntryLibraryDependency extends IdeaDependency, ExternalDependency
"Single-Entry Module Library" as IDEA calls it. For example a single Jar file with sources Jar.- Since:
- 1.0-milestone-5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.File
getFile()
Returns the file for this dependency.java.io.File
getJavadoc()
Returns the Javadoc directory/archive for this dependency.java.io.File
getSource()
Returns the source directory/archive for this dependency.-
Methods inherited from interface org.gradle.tooling.model.ExternalDependency
getGradleModuleVersion, isExported
-
Methods inherited from interface org.gradle.tooling.model.idea.IdeaDependency
getExported, getScope
-
-
-
-
Method Detail
-
getFile
java.io.File getFile()
Returns the file for this dependency.- Specified by:
getFile
in interfaceExternalDependency
- Returns:
- The file. Never null.
-
getSource
@Nullable java.io.File getSource()
Returns the source directory/archive for this dependency.- Specified by:
getSource
in interfaceExternalDependency
- Returns:
- The source file. Returns null when the source is not available for this dependency.
-
getJavadoc
@Nullable java.io.File getJavadoc()
Returns the Javadoc directory/archive for this dependency.- Specified by:
getJavadoc
in interfaceExternalDependency
- Returns:
- The Javadoc file. Returns null when the Javadoc is not available for this dependency.
-
-