public class JDKNode extends ExternalLibrary implements JDK
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAMESPACE_URI |
static java.lang.String |
ROOT_TAG |
LOG_READONLYJDK_EXEC_PROPERTY, JDK_INSTALLED_VMS_PROPERTY, JDK_NAME_PROPERTY, JDK_SDK_BIN_DIR_PROPERTY, JDK_VERSION_NUMBER_PROPERTYLIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTYCLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY| Modifier and Type | Method and Description |
|---|---|
boolean |
equivalent(Library lib)
Determine whether the given Library is equivalent to this one with respect
to the values of its public properties other than name.
|
protected java.lang.String |
getExtension() |
java.lang.String[] |
getInstalledVMs() |
java.net.URL |
getJavaExecutable() |
java.lang.String |
getJavaExecutableNoConsole() |
VersionNumber |
getJavaVersion() |
java.net.URL |
getSDKBinDir() |
java.lang.String |
getSDKBinJavaExecutableNoConsole() |
java.util.Properties |
getSystemProperties()
Get the Java system proprerties as they would be set when running in this
JDK.
|
void |
initFromLibrary(Library lib)
Initialize all public properties, other than name, from the Library
provided.
|
void |
setInstalledVMs(java.lang.String[] installedVMs) |
void |
setJavaExecutable(java.net.URL url) |
void |
setJavaVersion(VersionNumber ver) |
void |
setSDKBinDir(java.net.URL url) |
fireChangeEvent, getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getIcon, getID, getName, getShortLabel, getSourcePath, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setLocked, setName, setSourcePath, toStringgetObjectStoreTarget, getURL, newObjectStore, openImpl, saveImpladdNodeListener, addNodeListenerForType, addNodeListenerForTypeHierarchy, attach, beginThreadNodeUsageCycle, callUnderReadLock, callUnderWriteLock, close, closeImpl, createSubject, delete, deleteImpl, detach, endThreadNodeUsage, endThreadNodeUsageCycle, ensureOpen, equalsImpl, getAttributes, getChildren, getData, getInputStream, getLongLabel, getSubject, getTimestamp, getTimestampLoadedUnsafe, getToolTipText, getTransientProperties, getUnmodifiedTimestamp, isDirty, isLoaded, isLockHeld, isMigrating, isNew, isOpen, isReadLocked, isReadLockHeld, isReadOnly, isReadOrWriteLocked, isTrackedInNodeCache, isTrackingThreadNodeUsage, isWriteLocked, isWriteLockHeld, lockCount, markDirty, markDirtyImpl, mayHaveChildren, nodeLock, notifyObservers, open, readLock, readLockCount, readLockInterruptibly, readUnlock, refreshTimestamp, removeNodeListener, removeNodeListenerForType, removeNodeListenerForTypeHierarchy, rename, renameImpl, reportOpenException, revert, revertImpl, runUnderReadLock, runUnderWriteLock, save, setEventLog, setMigrating, setOpen, setReadOnly, setTimestampDirectly, setURL, tryRunUnderReadLock, tryRunUnderWriteLock, unsetMigrating, upgradeLock, upgradeUnlock, urlReadOnlyChanged, writeLock, writeLockCount, writeLockInterruptibly, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setNamegetClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePathgetIcon, getLongLabel, getShortLabel, getToolTipText, toStringpublic static final java.lang.String NAMESPACE_URI
public static final java.lang.String ROOT_TAG
public boolean equivalent(Library lib)
Libraryequivalent in interface Libraryequivalent in class ExternalLibrarylib - the Library against which to test for equivalence.public void initFromLibrary(Library lib)
LibraryinitFromLibrary in interface LibraryinitFromLibrary in class ExternalLibrarylib - the Library from which to fetch property values.public java.net.URL getJavaExecutable()
getJavaExecutable in interface JDKpublic void setJavaExecutable(java.net.URL url)
setJavaExecutable in interface JDKpublic java.lang.String[] getInstalledVMs()
throws TransientMarker
getInstalledVMs in interface JDKTransientMarkerpublic void setInstalledVMs(java.lang.String[] installedVMs)
setInstalledVMs in interface JDKpublic VersionNumber getJavaVersion()
getJavaVersion in interface JDKpublic void setJavaVersion(VersionNumber ver)
setJavaVersion in interface JDKpublic java.net.URL getSDKBinDir()
getSDKBinDir in interface JDKpublic void setSDKBinDir(java.net.URL url)
setSDKBinDir in interface JDKpublic java.lang.String getSDKBinJavaExecutableNoConsole()
getSDKBinJavaExecutableNoConsole in interface JDKpublic java.lang.String getJavaExecutableNoConsole()
getJavaExecutableNoConsole in interface JDKprotected java.lang.String getExtension()
getExtension in class ExternalLibrarypublic java.util.Properties getSystemProperties()
JDK-D) or through API calls (such as
System.setProperty(java.lang.String, java.lang.String)). The properties returned by this method may
or may not match the actual properties during a future execution of the
JVM. Callers should typically only use the standard Java properties
relating to the JDK implementation itself, such as java.home or
java.version, which will typically have the same values whenever
this JDK is run.getSystemProperties in interface JDK