Package org.apache.commons.jci.compilers
Class JavaCompilerSettings
- java.lang.Object
-
- org.apache.commons.jci.compilers.JavaCompilerSettings
-
- Direct Known Subclasses:
EclipseJavaCompilerSettings,GroovyJavaCompilerSettings,RhinoJavaCompilerSettings
public class JavaCompilerSettings extends java.lang.ObjectMost 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.
-
-
Field Summary
Fields Modifier and Type Field Description private booleandebugprivate booleandeprecationsprivate java.lang.StringsourceEncodingprivate java.lang.StringsourceVersionprivate java.lang.StringtargetVersionprivate booleanverboseDeprecated.private booleanwarnings
-
Constructor Summary
Constructors Constructor Description JavaCompilerSettings()JavaCompilerSettings(JavaCompilerSettings pSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetSourceEncoding()java.lang.StringgetSourceVersion()java.lang.StringgetTargetVersion()booleanisDebug()booleanisDeprecations()booleanisVerbose()Deprecated.booleanisWarnings()voidsetDebug(boolean pDebug)voidsetDeprecations(boolean pDeprecations)voidsetSourceEncoding(java.lang.String pSourceEncoding)voidsetSourceVersion(java.lang.String pSourceVersion)voidsetTargetVersion(java.lang.String pTargetVersion)voidsetVerbose(boolean pVerbose)Deprecated.voidsetWarnings(boolean pWarnings)
-
-
-
Field Detail
-
targetVersion
private java.lang.String targetVersion
-
sourceVersion
private java.lang.String sourceVersion
-
sourceEncoding
private java.lang.String sourceEncoding
-
warnings
private boolean warnings
-
deprecations
private boolean deprecations
-
debug
private boolean debug
-
verbose
@Deprecated private boolean verbose
Deprecated.
-
-
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
@Deprecated public void setVerbose(boolean pVerbose)
Deprecated.
-
isVerbose
@Deprecated public boolean isVerbose()
Deprecated.
-
-