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

E13403-05

oracle.jdeveloper.compiler
Class BuildSystemConfiguration

java.lang.Object
  extended by oracle.javatools.data.HashStructureAdapter
      extended by oracle.jdeveloper.compiler.BuildSystemConfiguration

public class BuildSystemConfiguration
extends HashStructureAdapter


Field Summary
 
Fields inherited from class oracle.javatools.data.HashStructureAdapter
_hash
 
Method Summary
 java.lang.String[] getCopyRes()
           
 java.lang.String getCurrentEncoding()
           
 java.lang.String getCurrentWebIanaEncoding()
          Returns current IANA web document encoding preference.
static BuildSystemConfiguration getInstance(PropertyStorage project)
          Returns a BuildSystemConfiguration instance for the specified project.
 boolean getOutOfProcess()
          Get the flag that specifies if the compilation will happen in or out of process
 java.lang.String getOutOfProcessJavaOptions()
          Get the out of process Java Options used when the compiler is executed out of process
 boolean getReverseCopyRes()
           
 java.lang.String getSource()
           
 java.lang.String[] getSources()
          -------------------------------------------------------- return the list of sources acceptable for the project jdk
 java.lang.String getSourceString()
           
 java.lang.String getTarget()
           
 java.lang.String[] getTargets()
          -------------------------------------------------------- return the list of targets acceptable for the project jdk
 java.lang.String getTargetString()
           
 boolean isJDK12OrHigher()
          Is the project's JDK version 1.2 or higher?
 boolean isJDK13OrHigher()
          Is the project's JDK version 1.3 or higher?
 boolean isJDK14OrHigher()
          Is the project's JDK version 1.4 or higher?
 boolean isJDK15()
          Is the project's JDK version 1.5 ?
 boolean isJDK15OrHigher()
          Is the project's JDK version 1.5 or higher? This is useful to detect if generics are turned on.
 boolean isJDK16()
          Is the project's JDK version 1.6 ?
 boolean isJDK16OrHigher()
          Is the project's JDK version 1.6 or higher?
 boolean isJDK17()
          Is the project's JDK version 1.7 ?
 boolean isJDK17OrHigher()
          Is the project's JDK version 1.7 or higher?
 void setCopyRes(java.lang.String[] copyRes)
           
 void setCurrentEncoding(java.lang.String currentEncoding)
           
 void setCurrentWebIanaEncoding(java.lang.String encoding)
          Sets IANA web document encoding preference
 void setOutOfProcess(boolean outOfProcess)
          Set the flag that specifies if the compilation will happen in or out of process
 void setOutOfProcessJavaOptions(java.lang.String options)
          Set the out of process Java Options used when the compiler is executed out of process
 void setReverseCopyRes(boolean reverseCopyRes)
           
 void setSource(java.lang.String source)
           
 void setTarget(java.lang.String target)
           
 
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
 

Method Detail

getInstance

public static BuildSystemConfiguration getInstance(PropertyStorage project)
Returns a BuildSystemConfiguration instance for the specified project.


isJDK12OrHigher

public boolean isJDK12OrHigher()
Is the project's JDK version 1.2 or higher?

Returns:
True if the JDK version is 1.2 or higher

isJDK13OrHigher

public boolean isJDK13OrHigher()
Is the project's JDK version 1.3 or higher?

Returns:
True if the JDK version is 1.3 or higher

isJDK14OrHigher

public boolean isJDK14OrHigher()
Is the project's JDK version 1.4 or higher?

Returns:
True if the JDK version is 1.4 or higher

isJDK15

public boolean isJDK15()
Is the project's JDK version 1.5 ?

Returns:
True if the JDK version is 1.5

isJDK15OrHigher

public boolean 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()
Is the project's JDK version 1.6 ?

Returns:
True if the JDK version is 1.6

isJDK16OrHigher

public boolean isJDK16OrHigher()
Is the project's JDK version 1.6 or higher?

Returns:
True if the JDK version is 1.6 or higher

isJDK17

public boolean isJDK17()
Is the project's JDK version 1.7 ?

Returns:
True if the JDK version is 1.7

isJDK17OrHigher

public boolean isJDK17OrHigher()
Is the project's JDK version 1.7 or higher?

Returns:
True if the JDK version is 1.7 or higher

getTargets

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


getTargetString

public java.lang.String getTargetString()

getTarget

public java.lang.String getTarget()

setTarget

public void setTarget(java.lang.String target)

getSources

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


getSourceString

public java.lang.String getSourceString()

getSource

public java.lang.String getSource()

setSource

public void setSource(java.lang.String source)

getCopyRes

public java.lang.String[] getCopyRes()

setCopyRes

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

getReverseCopyRes

public boolean getReverseCopyRes()

setReverseCopyRes

public void setReverseCopyRes(boolean reverseCopyRes)

getCurrentEncoding

public java.lang.String getCurrentEncoding()
                                    throws TransientMarker
Throws:
TransientMarker

setCurrentEncoding

public void setCurrentEncoding(java.lang.String currentEncoding)

getCurrentWebIanaEncoding

public java.lang.String getCurrentWebIanaEncoding()
Returns current IANA web document encoding preference.

Returns:
encoding string

setCurrentWebIanaEncoding

public void setCurrentWebIanaEncoding(java.lang.String encoding)
Sets IANA web document encoding preference

Parameters:
encoding - IANA encoding string

getOutOfProcess

public boolean getOutOfProcess()
Get the flag that specifies if the compilation will happen in or out of process

Returns:
True if the compilation should happen out of process, false if it should happen in process

setOutOfProcess

public void setOutOfProcess(boolean outOfProcess)
Set the flag that specifies if the compilation will happen in or out of process

Parameters:
outOfProcess - If true, the compilation will happen out of process, otherwise it will happen in process

getOutOfProcessJavaOptions

public java.lang.String getOutOfProcessJavaOptions()
Get the out of process Java Options used when the compiler is executed out of process

Returns:
The out of process Java Options which will be a valid String

setOutOfProcessJavaOptions

public void setOutOfProcessJavaOptions(java.lang.String options)
Set the out of process Java Options used when the compiler is executed out of process

Parameters:
options - The out of process Java Options

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

E13403-05

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