public class SharedLibrariesImpl extends Object implements SharedLibraries
A SharedLibraries
implementation.
Constructor and Description |
---|
SharedLibrariesImpl()
Creates shared libraries.
|
Modifier and Type | Method and Description |
---|---|
void |
addSharedLibrary(String type,
String libraryName,
String version,
List<PackageDependency> dependencies)
Adds a shared library.
|
String |
getText()
Returns the shared libraries as text.
|
public void addSharedLibrary(String type, String libraryName, String version, List<PackageDependency> dependencies)
Adds a shared library.
type
- The type (optional).libraryName
- The name of the library.version
- The version.dependencies
- The dependencies.IllegalArgumentException
- If any of the non-optional parameters are null
.public String getText()
SharedLibraries
Returns the shared libraries as text.
getText
in interface SharedLibraries
Copyright © 2015–2019. All rights reserved.