Class JavaCompilerOptions
- java.lang.Object
-
- io.openliberty.tools.common.plugins.util.JavaCompilerOptions
-
public class JavaCompilerOptions extends Object
-
-
Constructor Summary
Constructors Constructor Description JavaCompilerOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEncoding()List<String>getOptions()Get list of options that can be passed to the compiler.StringgetRelease()StringgetSource()StringgetTarget()booleanisShowWarnings()voidsetEncoding(String encoding)voidsetRelease(String release)voidsetShowWarnings(boolean showWarnings)voidsetSource(String source)voidsetTarget(String target)
-
-
-
Method Detail
-
getOptions
public List<String> getOptions()
Get list of options that can be passed to the compiler. Options with values are represented as multiple strings in the list e.g. "-source" and "1.8"- Returns:
- List of options
-
getSource
public String getSource()
-
setSource
public void setSource(String source)
-
getTarget
public String getTarget()
-
setTarget
public void setTarget(String target)
-
isShowWarnings
public boolean isShowWarnings()
-
setShowWarnings
public void setShowWarnings(boolean showWarnings)
-
getRelease
public String getRelease()
-
setRelease
public void setRelease(String release)
-
getEncoding
public String getEncoding()
-
setEncoding
public void setEncoding(String encoding)
-
-