Class JavaCompilerOptions


  • public class JavaCompilerOptions
    extends Object
    • Constructor Detail

      • JavaCompilerOptions

        public JavaCompilerOptions()
    • 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)