Dependency
public class SingleEntryModuleLibrary extends ModuleLibrary
Constructor | Description |
---|---|
SingleEntryModuleLibrary(FilePath library,
String scope) |
Creates single entry module library
|
SingleEntryModuleLibrary(FilePath library,
Set<FilePath> javadoc,
Set<FilePath> source,
String scope) |
Creates single entry module library
|
SingleEntryModuleLibrary(FilePath library,
FilePath javadoc,
FilePath source,
String scope) |
Creates single entry module library
|
Modifier and Type | Method | Description |
---|---|---|
File |
getJavadocFile() |
Returns a single javadoc jar or javadoc folder
|
File |
getLibraryFile() |
Returns a single jar or class folder
|
ModuleVersionIdentifier |
getModuleVersion() |
Module version of the library, if any.
|
File |
getSourceFile() |
Returns a single source jar or source folder
|
void |
setModuleVersion(ModuleVersionIdentifier moduleVersion) |
addToNode, equals, getClasses, getJarDirectories, getJavadoc, getScope, getSources, hashCode, isExported, setClasses, setExported, setJarDirectories, setJavadoc, setScope, setSources, toString
public SingleEntryModuleLibrary(FilePath library, Set<FilePath> javadoc, Set<FilePath> source, String scope)
library
- a path to jar or class folder in idea formatjavadoc
- paths to javadoc jars or javadoc folderssource
- paths to source jars or source foldersscope
- scopepublic SingleEntryModuleLibrary(FilePath library, @Nullable FilePath javadoc, @Nullable FilePath source, String scope)
library
- a path to jar or class folder in idea formatjavadoc
- path to javadoc jars or javadoc folderssource
- paths to source jars or source foldersscope
- scope@Nullable public ModuleVersionIdentifier getModuleVersion()
public void setModuleVersion(@Nullable ModuleVersionIdentifier moduleVersion)
public File getLibraryFile()
public File getJavadocFile()
public File getSourceFile()