public class LibraryReference extends HashStructureAdapter
Modifier and Type | Field and Description |
---|---|
java.lang.String |
ID_PROPERTY |
java.lang.String |
IS_JDK_PROPERTY |
java.lang.String |
JDK_VERSION |
_hash
Constructor and Description |
---|
LibraryReference() |
LibraryReference(HashStructure hash) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getID() |
boolean |
getIsJDK() |
Library |
getLibrary()
Finds the Library instance without a Project context.
|
Library |
getLibrary(Project project)
Finds the Library instance in the given Project context.
|
java.lang.String |
getVersion() |
boolean |
isJDK() |
static LibraryReference |
parseReference(java.lang.String text) |
void |
setID(java.lang.Object id) |
void |
setIsJDK(boolean isJDK) |
void |
setLibrary(Library lib) |
void |
setVersion(java.lang.String version) |
static java.lang.String |
toString(LibraryReference ref) |
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals
public final java.lang.String ID_PROPERTY
public final java.lang.String IS_JDK_PROPERTY
public final java.lang.String JDK_VERSION
public LibraryReference()
public LibraryReference(HashStructure hash)
public java.lang.Object getID()
public void setID(java.lang.Object id)
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public boolean isJDK()
public boolean getIsJDK()
public void setIsJDK(boolean isJDK)
public Library getLibrary() throws TransientMarker
TransientMarker
public Library getLibrary(Project project) throws TransientMarker
TransientMarker
public void setLibrary(Library lib) throws TransientMarker
TransientMarker
public static java.lang.String toString(LibraryReference ref)
public static LibraryReference parseReference(java.lang.String text) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- for malformed input.