oracle.jdeveloper.library
Class LegacyJDK
java.lang.Object
oracle.ide.model.DefaultDisplayable
oracle.ide.model.DefaultElement
oracle.jdeveloper.library.LibraryElement
oracle.jdeveloper.library.LegacyJDK
- All Implemented Interfaces:
- oracle.javatools.data.Dirtyable, Dirtyable, Displayable, Element
- public final class LegacyJDK
- extends LibraryElement
The sole intention of LegacyJDK is to represent a JDK as used in pre 10.1.3
releases such taht the data may be read by the migration mechanics for
conversion to the 10.1.3 format. This class should not be relied upon for
any other purpose.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LegacyJDK
public LegacyJDK()
getShortLabel
public java.lang.String getShortLabel()
- Description copied from interface:
Displayable
- Returns a short label that can be displayed to the user.
Generally, the value of the returned
String is considered
translatable and should therefore be placed in an appropriate
resource file. When possible, the returned label should be
reasonably short enough to show in the navigator or explorer
windows but long enough to clearly identify and distinguish the
Displayable.
- Specified by:
getShortLabel in interface Displayable- Overrides:
getShortLabel in class DefaultDisplayable
- See Also:
Displayable.getShortLabel()
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getClassPath
public URLPath getClassPath()
setClassPath
public void setClassPath(URLPath path)
getSourcePath
public URLPath getSourcePath()
setSourcePath
public void setSourcePath(URLPath path)
getDocPath
public URLPath getDocPath()
setDocPath
public void setDocPath(URLPath path)
isLocked
public boolean isLocked()
setLocked
public void setLocked(boolean locked)
getJavaExecutable
public java.net.URL getJavaExecutable()
setJavaExecutable
public void setJavaExecutable(java.net.URL javaExecutable)
getJavaVersion
public VersionNumber getJavaVersion()
setJavaVersion
public void setJavaVersion(VersionNumber ver)
getSDKBinDir
public java.net.URL getSDKBinDir()
setSDKBinDir
public void setSDKBinDir(java.net.URL binDir)
getInstalledVMs
public java.lang.String[] getInstalledVMs()
throws TransientMarker
- Throws:
TransientMarker
Copyright © 1997, 2005, Oracle.All rights reserved.