oracle.jdeveloper.library
Interface LibraryList
- All Superinterfaces:
- Copyable, Data, Dirtyable, Displayable, Element, Folder, Subject
- All Known Implementing Classes:
- JLibraryList, JProjectLibraryList
- public interface LibraryList
- extends Folder, Copyable, Subject, Dirtyable
The LibraryList
interface represents a list of library and J2SE
definitions. The libraries and J2se definitions are tracked separately. The
lists of each type can be retrieved, as well as individual items.
- Since:
- 9.0.3
Method Summary |
JDK |
findJDK(java.lang.String jdkName)
Finds the J2SE definition that matches the specified name. |
JDK |
findJDK(VersionNumber verNum)
Finds the J2SE definition that matches the specified version number. |
JLibrary |
findLibrary(java.lang.String libName)
Finds the library that matches the specified name. |
java.lang.String |
findUniqueJDKName()
Determines a unique name that can be used for a new J2SE definition. |
java.lang.String |
findUniqueLibraryName()
Determines a unique name that can be used for a new library. |
java.util.List |
getJdkList()
Retrieves the list of J2SE definitions contained in this LibraryList. |
java.util.List |
getLibraryList()
Retrieves the list of Libraries contained in this LibraryList. |
java.lang.String |
getListName()
Retrieves the name of this LibraryList. |
boolean |
isChildJDK(JDK jdk)
Determines whether the specified J2SE definition is a child of this
LibraryList. |
boolean |
isChildLibrary(JLibrary lib)
Determines whether the specified Library is a child of this LibraryList. |
Methods inherited from interface oracle.ide.model.Data |
getData |
findJDK
public JDK findJDK(java.lang.String jdkName)
- Finds the J2SE definition that matches the specified name.
- Parameters:
jdkName
- the name of the J2SE definition- Returns:
- the
JDK
representing the J2SE definition.
findJDK
public JDK findJDK(VersionNumber verNum)
- Finds the J2SE definition that matches the specified version number.
- Parameters:
verNum
- the VersionNumber
of the desired J2SE defintion.- Returns:
- the
JDK
representing the J2SE definition.
findLibrary
public JLibrary findLibrary(java.lang.String libName)
- Finds the library that matches the specified name.
findUniqueJDKName
public java.lang.String findUniqueJDKName()
- Determines a unique name that can be used for a new J2SE definition.
findUniqueLibraryName
public java.lang.String findUniqueLibraryName()
- Determines a unique name that can be used for a new library.
getJdkList
public java.util.List getJdkList()
- Retrieves the list of J2SE definitions contained in this LibraryList.
getLibraryList
public java.util.List getLibraryList()
- Retrieves the list of Libraries contained in this LibraryList.
getListName
public java.lang.String getListName()
- Retrieves the name of this LibraryList.
isChildJDK
public boolean isChildJDK(JDK jdk)
- Determines whether the specified J2SE definition is a child of this
LibraryList.
isChildLibrary
public boolean isChildLibrary(JLibrary lib)
- Determines whether the specified Library is a child of this LibraryList.