org.apache.commons.jci.compilers
Class JavaCompilerSettings

java.lang.Object
  extended by org.apache.commons.jci.compilers.JavaCompilerSettings
Direct Known Subclasses:
EclipseJavaCompilerSettings, GroovyJavaCompilerSettings, JaninoJavaCompilerSettings, JavacJavaCompilerSettings, RhinoJavaCompilerSettings

public class JavaCompilerSettings
extends java.lang.Object

Most common denominator for JavaCompiler settings. If you need more specific settings you have to provide the native compiler configurations to the compilers. Writing of a custom factory is suggested.

Author:
tcurdt

Constructor Summary
JavaCompilerSettings()
           
JavaCompilerSettings(JavaCompilerSettings pSettings)
           
 
Method Summary
 java.lang.String getSourceEncoding()
           
 java.lang.String getSourceVersion()
           
 java.lang.String getTargetVersion()
           
 boolean isDebug()
           
 boolean isDeprecations()
           
 boolean isVerbose()
          Deprecated.  
 boolean isWarnings()
           
 void setDebug(boolean pDebug)
           
 void setDeprecations(boolean pDeprecations)
           
 void setSourceEncoding(java.lang.String pSourceEncoding)
           
 void setSourceVersion(java.lang.String pSourceVersion)
           
 void setTargetVersion(java.lang.String pTargetVersion)
           
 void setVerbose(boolean pVerbose)
          Deprecated.  
 void setWarnings(boolean pWarnings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaCompilerSettings

public JavaCompilerSettings()

JavaCompilerSettings

public JavaCompilerSettings(JavaCompilerSettings pSettings)
Method Detail

setTargetVersion

public void setTargetVersion(java.lang.String pTargetVersion)

getTargetVersion

public java.lang.String getTargetVersion()

setSourceVersion

public void setSourceVersion(java.lang.String pSourceVersion)

getSourceVersion

public java.lang.String getSourceVersion()

setSourceEncoding

public void setSourceEncoding(java.lang.String pSourceEncoding)

getSourceEncoding

public java.lang.String getSourceEncoding()

setWarnings

public void setWarnings(boolean pWarnings)

isWarnings

public boolean isWarnings()

setDeprecations

public void setDeprecations(boolean pDeprecations)

isDeprecations

public boolean isDeprecations()

setDebug

public void setDebug(boolean pDebug)

isDebug

public boolean isDebug()

setVerbose

public void setVerbose(boolean pVerbose)
Deprecated. 


isVerbose

public boolean isVerbose()
Deprecated. 



Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.