Package org.apache.commons.jci.compilers
Class JavaCompilerSettings
- java.lang.Object
-
- org.apache.commons.jci.compilers.JavaCompilerSettings
-
- Direct Known Subclasses:
EclipseJavaCompilerSettings
,GroovyJavaCompilerSettings
,JaninoJavaCompilerSettings
,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
Constructors Constructor Description JavaCompilerSettings()
JavaCompilerSettings(JavaCompilerSettings pSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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)
-
-
-
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.
-
-