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

E13403-03

oracle.jdeveloper.compiler
Class OjcConfiguration

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.compiler.OjcConfiguration
All Implemented Interfaces:
OjcConfigurationConstants

public class OjcConfiguration
extends HashStructureAdapter
implements OjcConfigurationConstants

Place holder class for defines. Use BuildSystemConfiguration or CompilerOptionManager for access to build and compile options.


Field Summary
static java.lang.String COMPILER_NAME
           
static java.lang.String COMPILER_OPTIONS_AS_LIST
           
static java.lang.String COMPILER_OPTIONS_AS_STRING
           
static java.lang.String DATA_KEY
           
static java.lang.String DEFAULT_COMPILER_NAME
           
static java.lang.String DEFAULT_ENCODING
           
static java.lang.String DEFAULT_SOURCE
           
static java.lang.String DEFAULT_TARGET
           
 
Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash
 
Fields inherited from interface oracle.jdeveloper.compiler.OjcConfigurationConstants
ALWAYS_GEN_CLASSES, ALWAYS_GEN_CLASSES_DEFAULT, COPY_RES, DEBUG_INFORMATION, DEBUG_INFORMATION_DEFAULT_VALUE, EXCLUDED_CLASSES, INTERNAL_ENCODING, OUT_OF_PROCESS, OUT_OF_PROCESS_DEFAULT_VALUE, OUT_OF_PROCESS_JAVA_OPTIONS, REVERSE_COPY_RES, SHOW_DEPRECATIONS, SHOW_DEPRECATIONS_DEFAULT_VALUE, SHOW_OBJECT_DOT_STATIC_WARNINGS, SHOW_OBJECT_DOT_STATIC_WARNINGS_DEFAULT_VALUE, SHOW_PARTIAL_IMPORT_WARNINGS, SHOW_PARTIAL_IMPORT_WARNINGS_DEFAULT_VALUE, SHOW_SELF_DEPRECATIONS, SHOW_SELF_DEPRECATIONS_DEFAULT_VALUE, SHOW_UNUSED_IMPORT_WARNINGS, SHOW_UNUSED_IMPORT_WARNINGS_DEFAULT_VALUE, SHOW_WARNINGS, SHOW_WARNINGS_DEFAULT_VALUE, SOURCE, TARGET, USE_JAVAC, USE_JAVAC_DEFAULT_VALUE, WEB_IANA_ENCODING
 
Method Summary
 java.lang.String[] getCopyRes()
          Deprecated. Use BuildSystemConfiguration.getCopyRes()
 java.lang.String getCurrentEncoding()
          Deprecated. Use BuildSystemConfiguration.getCurrentEncoding()
 java.lang.String[] getExcludedClasses()
          Deprecated. Use CompilerOptionManager.getExcludedClasses()
static OjcConfiguration getInstance(PropertyStorage project)
          Deprecated. Use BuildSystemConfiguration.getInstance(PropertyStorage) or CompilerOptionManager.getInstance(PropertyStorage) Returns an OjcConfiguration instance for the specified project.
static OjcConfiguration getOjcConfiguration(Project project, java.lang.String configName)
          Deprecated. Call getInstance(oracle.javatools.data.PropertyStorage) instead
 boolean getReverseCopyRes()
          Deprecated. Use BuildSystemConfiguration.getReversCopyRes()
 java.lang.String getSource()
          Deprecated. Use BuildSystemConfiguration.getSource()
 java.lang.String[] getSources()
          Deprecated. Use BuildSystemConfiguration.getSources() return the list of sources acceptable for the project jdk
 java.lang.String getSourceString()
          Deprecated. Use BuildSystemConfiguration.getSourceString()
 java.lang.String getTarget()
          Deprecated. Use BuildSystemConfiguration.getTarget()
 java.lang.String[] getTargets()
          Deprecated. Use BuildSystemConfiguration.getTargets() return the list of targets acceptable for the project jdk
 java.lang.String getTargetString()
          Deprecated. Use BuildSystemConfiguration.getTargetString()
 boolean isAlwaysGenClasses()
          Deprecated. Use CompilerOptionManager.isForceCodeGen()
 boolean isDebugInformation()
          Deprecated. Use CompilerOptionManager.isDebugInformation() or CompilerOptionManager.isDebugInformation(CompilerName)
 boolean isJDK15()
          Deprecated. Use BuildSystemConfiguration.isJDK15() Is the project's JDK version 1.5 ?
 boolean isJDK15OrHigher()
          Deprecated. Use BuildSystemConfiguration.isJDK15OrHigher() Is the project's JDK version 1.5 or higher? This is useful to detect if generics are turned on.
 boolean isJDK16()
          Deprecated. Use BuildSystemConfiguration.isJDK16() Is the project's JDK version 1.6 ?
 boolean isShowDeprecations()
          Deprecated. Use CompilerOptionManager.isShowDeprecations()
 boolean isShowObjectDotStaticWarnings()
          Deprecated. Use CompilerOptionManager.isShowObjectDotStaticWarnings()
 boolean isShowPartialImportWarnings()
          Deprecated. Use CompilerOptionManager.isShowPartialImportWarnings()
 boolean isShowSelfDeprecations()
          Deprecated. Use CompilerOptionManager.isShowSelfDeprecations()
 boolean isShowUnusedImportWarnings()
          Deprecated. Use CompilerOptionManager.isShowUnusedImportWarnings()
 boolean isShowWarnings()
          Deprecated. Use CompilerOptionManager.isShowWarnings()
 boolean isUseJavac()
          Deprecated. Use CompilerOptionManager.getCurrentCompiler()
 void setAlwaysGenClasses(boolean alwaysGenClasses)
          Deprecated. Use CompilerOptionManager.setForceCodeGen()
 void setCopyRes(java.lang.String[] copyRes)
          Deprecated. Use BuildSystemConfiguration.setCopyRes(String[])
 void setCurrentEncoding(java.lang.String currentEncoding)
          Deprecated. Use BuildSystemConfiguration.setCurrentEncoding(String)
 void setDebugInformation(boolean debugInformation)
          Deprecated. Use CompilerOptionManager.setDebugInformation()
 void setExcludedClasses(java.lang.String[] excludedClasses)
          Deprecated. Use CompilerOptionManager.setExcludedClasses()
 void setReverseCopyRes(boolean reverseCopyRes)
          Deprecated. Use BuildSystemConfiguration.reverseCopyRes()
 void setShowDeprecations(boolean showDeprecations)
          Deprecated. Use CompilerOptionManager.setShowDeprecations()
 void setShowObjectDotStaticWarnings(boolean showObjectDotStaticWarnings)
          Deprecated. Use CompilerOptionManager.setShowObjectDotStaticWarnings()
 void setShowPartialImportWarnings(boolean showPartialImportWarnings)
          Deprecated. Use CompilerOptionManager.setShowPartialImportWarnings()
 void setShowSelfDeprecations(boolean showSelfDeprecations)
          Deprecated. Use CompilerOptionManager.setShowSelfDeprecations()
 void setShowUnusedImportWarnings(boolean showUnusedImportWarnings)
          Deprecated. Use CompilerOptionManager.setShowUnusedImportWarnings()
 void setShowWarnings(boolean showWarnings)
          Deprecated. Use CompilerOptionManager.setShowWarnings()
 void setSource(java.lang.String source)
          Deprecated. Use BuildSystemConfiguration.setSource(String source)
 void setTarget(java.lang.String target)
          Deprecated. Use BuildSystemConfiguration.setTarget()
 void setUseJavac(boolean useJavac)
          Deprecated. Use CompilerOptionManager.setCurrentCompiler()
 
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, toString, wait, wait, wait
 

Field Detail

COMPILER_NAME

public static final java.lang.String COMPILER_NAME
See Also:
Constant Field Values

DEFAULT_COMPILER_NAME

public static final java.lang.String DEFAULT_COMPILER_NAME
See Also:
Constant Field Values

COMPILER_OPTIONS_AS_STRING

public static final java.lang.String COMPILER_OPTIONS_AS_STRING
See Also:
Constant Field Values

COMPILER_OPTIONS_AS_LIST

public static final java.lang.String COMPILER_OPTIONS_AS_LIST
See Also:
Constant Field Values

DATA_KEY

public static final java.lang.String DATA_KEY

DEFAULT_TARGET

public static final java.lang.String DEFAULT_TARGET
See Also:
Constant Field Values

DEFAULT_SOURCE

public static final java.lang.String DEFAULT_SOURCE
See Also:
Constant Field Values

DEFAULT_ENCODING

public static final java.lang.String DEFAULT_ENCODING
See Also:
Constant Field Values
Method Detail

getInstance

public static OjcConfiguration getInstance(PropertyStorage project)
Deprecated. Use BuildSystemConfiguration.getInstance(PropertyStorage) or CompilerOptionManager.getInstance(PropertyStorage) Returns an OjcConfiguration instance for the specified project.


getOjcConfiguration

public static OjcConfiguration getOjcConfiguration(Project project,
                                                   java.lang.String configName)
Deprecated. Call getInstance(oracle.javatools.data.PropertyStorage) instead


isDebugInformation

public boolean isDebugInformation()
Deprecated. Use CompilerOptionManager.isDebugInformation() or CompilerOptionManager.isDebugInformation(CompilerName)


setDebugInformation

public void setDebugInformation(boolean debugInformation)
Deprecated. Use CompilerOptionManager.setDebugInformation()


isJDK15

public boolean isJDK15()
Deprecated. Use BuildSystemConfiguration.isJDK15() Is the project's JDK version 1.5 ?

Returns:
True if the JDK version is 1.5

isJDK15OrHigher

public boolean isJDK15OrHigher()
Deprecated. Use BuildSystemConfiguration.isJDK15OrHigher() Is the project's JDK version 1.5 or higher? This is useful to detect if generics are turned on.

Returns:
True if the JDK version is 1.5 or higher

isJDK16

public boolean isJDK16()
Deprecated. Use BuildSystemConfiguration.isJDK16() Is the project's JDK version 1.6 ?

Returns:
True if the JDK version is 1.6

isUseJavac

public boolean isUseJavac()
Deprecated. Use CompilerOptionManager.getCurrentCompiler()


setUseJavac

public void setUseJavac(boolean useJavac)
Deprecated. Use CompilerOptionManager.setCurrentCompiler()


isAlwaysGenClasses

public boolean isAlwaysGenClasses()
Deprecated. Use CompilerOptionManager.isForceCodeGen()


setAlwaysGenClasses

public void setAlwaysGenClasses(boolean alwaysGenClasses)
Deprecated. Use CompilerOptionManager.setForceCodeGen()


isShowWarnings

public boolean isShowWarnings()
Deprecated. Use CompilerOptionManager.isShowWarnings()


setShowWarnings

public void setShowWarnings(boolean showWarnings)
Deprecated. Use CompilerOptionManager.setShowWarnings()


isShowUnusedImportWarnings

public boolean isShowUnusedImportWarnings()
Deprecated. Use CompilerOptionManager.isShowUnusedImportWarnings()


setShowUnusedImportWarnings

public void setShowUnusedImportWarnings(boolean showUnusedImportWarnings)
Deprecated. Use CompilerOptionManager.setShowUnusedImportWarnings()


isShowPartialImportWarnings

public boolean isShowPartialImportWarnings()
Deprecated. Use CompilerOptionManager.isShowPartialImportWarnings()


setShowPartialImportWarnings

public void setShowPartialImportWarnings(boolean showPartialImportWarnings)
Deprecated. Use CompilerOptionManager.setShowPartialImportWarnings()


isShowObjectDotStaticWarnings

public boolean isShowObjectDotStaticWarnings()
Deprecated. Use CompilerOptionManager.isShowObjectDotStaticWarnings()


setShowObjectDotStaticWarnings

public void setShowObjectDotStaticWarnings(boolean showObjectDotStaticWarnings)
Deprecated. Use CompilerOptionManager.setShowObjectDotStaticWarnings()


isShowDeprecations

public boolean isShowDeprecations()
Deprecated. Use CompilerOptionManager.isShowDeprecations()


setShowDeprecations

public void setShowDeprecations(boolean showDeprecations)
Deprecated. Use CompilerOptionManager.setShowDeprecations()


isShowSelfDeprecations

public boolean isShowSelfDeprecations()
Deprecated. Use CompilerOptionManager.isShowSelfDeprecations()


setShowSelfDeprecations

public void setShowSelfDeprecations(boolean showSelfDeprecations)
Deprecated. Use CompilerOptionManager.setShowSelfDeprecations()


getExcludedClasses

public java.lang.String[] getExcludedClasses()
Deprecated. Use CompilerOptionManager.getExcludedClasses()


setExcludedClasses

public void setExcludedClasses(java.lang.String[] excludedClasses)
Deprecated. Use CompilerOptionManager.setExcludedClasses()


getTargets

public java.lang.String[] getTargets()
Deprecated. Use BuildSystemConfiguration.getTargets() return the list of targets acceptable for the project jdk

--------------------------------------------------------


getTargetString

public java.lang.String getTargetString()
Deprecated. Use BuildSystemConfiguration.getTargetString()


getTarget

public java.lang.String getTarget()
Deprecated. Use BuildSystemConfiguration.getTarget()


setTarget

public void setTarget(java.lang.String target)
Deprecated. Use BuildSystemConfiguration.setTarget()


getSources

public java.lang.String[] getSources()
Deprecated. Use BuildSystemConfiguration.getSources() return the list of sources acceptable for the project jdk

--------------------------------------------------------


getSourceString

public java.lang.String getSourceString()
Deprecated. Use BuildSystemConfiguration.getSourceString()


getSource

public java.lang.String getSource()
Deprecated. Use BuildSystemConfiguration.getSource()


setSource

public void setSource(java.lang.String source)
Deprecated. Use BuildSystemConfiguration.setSource(String source)


getCopyRes

public java.lang.String[] getCopyRes()
Deprecated. Use BuildSystemConfiguration.getCopyRes()


setCopyRes

public void setCopyRes(java.lang.String[] copyRes)
Deprecated. Use BuildSystemConfiguration.setCopyRes(String[])


getReverseCopyRes

public boolean getReverseCopyRes()
Deprecated. Use BuildSystemConfiguration.getReversCopyRes()


setReverseCopyRes

public void setReverseCopyRes(boolean reverseCopyRes)
Deprecated. Use BuildSystemConfiguration.reverseCopyRes()


getCurrentEncoding

public java.lang.String getCurrentEncoding()
                                    throws TransientMarker
Deprecated. Use BuildSystemConfiguration.getCurrentEncoding()

Throws:
TransientMarker

setCurrentEncoding

public void setCurrentEncoding(java.lang.String currentEncoding)
Deprecated. Use BuildSystemConfiguration.setCurrentEncoding(String)


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

E13403-03

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