public class JavaConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaConfiguration.CompilerType |
| Modifier and Type | Field and Description |
|---|---|
static String |
JAVA_COMPILER_PROPERTY |
static String |
JAVA_LANG_LEVEL_PROPERTY |
protected static String[] |
LANGUAGE_LEVELS |
| Constructor and Description |
|---|
JavaConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
static String |
findJavaVersion(String level) |
JavaConfiguration.CompilerType |
getCompiler() |
String |
getJavaLanguageLevel() |
void |
setCompiler(JavaConfiguration.CompilerType compiler)
Set the compiler to be used when building the rules semantic code blocks.
|
void |
setJavaLanguageLevel(String languageLevel)
You cannot set language level below 1.5, as we need static imports, 1.5 is now the default.
|
protected static final String[] LANGUAGE_LEVELS
public static final String JAVA_COMPILER_PROPERTY
public static final String JAVA_LANG_LEVEL_PROPERTY
public String getJavaLanguageLevel()
public void setJavaLanguageLevel(String languageLevel)
languageLevel - public void setCompiler(JavaConfiguration.CompilerType compiler)
public JavaConfiguration.CompilerType getCompiler()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.