Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.jdeveloper.library
Class JDKAdapter

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.library.LibraryAdapter
          extended by oracle.jdeveloper.library.JDKAdapter

All Implemented Interfaces:
Displayable, JDK, JPaths, Library

public final class JDKAdapter
extends LibraryAdapter
implements JDK

Encapsulates the notion of a JDK.


Field Summary

 

Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash

 

Fields inherited from interface oracle.jdeveloper.library.JDK
JDK_EXEC_PROPERTY, JDK_INSTALLED_VMS_PROPERTY, JDK_NAME_PROPERTY, JDK_SDK_BIN_DIR_PROPERTY, JDK_VERSION_NUMBER_PROPERTY

 

Fields inherited from interface oracle.jdeveloper.library.Library
LIBRARY_ID_PROPERTY, LIBRARY_NAME_PROPERTY

 

Fields inherited from interface oracle.jdeveloper.library.JPaths
CLASSPATH_PROPERTY, DOCPATH_PROPERTY, ISLOCKED_PROPERTY, SOURCEPATH_PROPERTY

 

Constructor Summary
JDKAdapter(HashStructure hash)
           

 

Method Summary
 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.
 java.lang.String[] getInstalledVMs()
           
 java.net.URL getJavaExecutable()
           
 java.lang.String getJavaExecutableNoConsole()
           
 VersionNumber getJavaVersion()
           
 java.net.URL getSDKBinDir()
           
 java.lang.String getSDKBinJavaExecutableNoConsole()
           
 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)
           

 

Methods inherited from class oracle.jdeveloper.library.LibraryAdapter
getClassPath, getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getDocPath, getIcon, getID, getLongLabel, getName, getShortLabel, getSourcePath, getToolTipText, isLocked, setClassPath, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setDocPath, setID, setLocked, setName, setSourcePath, toString

 

Methods inherited from class oracle.javatools.data.HashStructureAdapter
addStructureChangeListener, containsKey, copyTo, copyToImpl, equals, equalsImpl, findOrCreate, forcedCopyTo, getHashStructure, removeStructureChangeListener, useObjectEquals

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface oracle.jdeveloper.library.Library
getDefaultClassPath, getDefaultDocPath, getDefaultSourcePath, getID, getName, setDefaultClassPath, setDefaultDocPath, setDefaultSourcePath, setName

 

Methods inherited from interface oracle.jdeveloper.library.JPaths
getClassPath, getDocPath, getSourcePath, isLocked, setClassPath, setDocPath, setLocked, setSourcePath

 

Methods inherited from interface oracle.ide.model.Displayable
getIcon, getLongLabel, getShortLabel, getToolTipText, toString

 

Constructor Detail

JDKAdapter

public JDKAdapter(HashStructure hash)

Method Detail

equivalent

public boolean equivalent(Library lib)
Description copied from interface: Library
Determine whether the given Library is equivalent to this one with respect to the values of its public properties other than name.
Specified by:
equivalent in interface Library
Overrides:
equivalent in class LibraryAdapter
Parameters:
lib - the Library against which to test for equivalence.
Returns:
true if all public properties are equal.

initFromLibrary

public void initFromLibrary(Library lib)
Description copied from interface: Library
Initialize all public properties, other than name, from the Library provided.
Specified by:
initFromLibrary in interface Library
Overrides:
initFromLibrary in class LibraryAdapter

getJavaExecutable

public java.net.URL getJavaExecutable()
Specified by:
getJavaExecutable in interface JDK

setJavaExecutable

public void setJavaExecutable(java.net.URL url)
Specified by:
setJavaExecutable in interface JDK

getInstalledVMs

public java.lang.String[] getInstalledVMs()
Specified by:
getInstalledVMs in interface JDK

setInstalledVMs

public void setInstalledVMs(java.lang.String[] installedVMs)
Specified by:
setInstalledVMs in interface JDK

getJavaVersion

public VersionNumber getJavaVersion()
Specified by:
getJavaVersion in interface JDK

setJavaVersion

public void setJavaVersion(VersionNumber ver)
Specified by:
setJavaVersion in interface JDK

getSDKBinDir

public java.net.URL getSDKBinDir()
Specified by:
getSDKBinDir in interface JDK

setSDKBinDir

public void setSDKBinDir(java.net.URL url)
Specified by:
setSDKBinDir in interface JDK

getSDKBinJavaExecutableNoConsole

public java.lang.String getSDKBinJavaExecutableNoConsole()
Specified by:
getSDKBinJavaExecutableNoConsole in interface JDK

getJavaExecutableNoConsole

public java.lang.String getJavaExecutableNoConsole()
Specified by:
getJavaExecutableNoConsole in interface JDK

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.