Enum ConfigurationKey
- java.lang.Object
-
- java.lang.Enum<ConfigurationKey>
-
- org.guvnor.common.services.project.backend.server.utils.configuration.ConfigurationKey
-
- All Implemented Interfaces:
Serializable,Comparable<ConfigurationKey>
public enum ConfigurationKey extends Enum<ConfigurationKey>
Keys used to configure the Maven compiler in the kie-wb-commonCOMPILER (jdt) jdt or javac SOURCE_VERSION (1.8) configured with jvm source code version TARGET_VERSION (1.8) configured with jvm target version
FAIL_ON_ERROR (false) configured with false to continue the build on the correct classes and skip the build of classes with errors MAVEN_COMPILER_PLUGIN_GROUP (org.apache.maven.plugins) configured with default maven compiler group to disabled it MAVEN_COMPILER_PLUGIN_ARTIFACT (maven-compiler-plugin) configured with default maven compiler ArtifactID to disabled it MAVEN_COMPILER_PLUGIN_VERSION (3.7.0) configured with default maven compiler version to disabled it
TAKARI_COMPILER_PLUGIN_GROUP (io.takari.maven.plugins) configured with takari GroupID TAKARI_COMPILER_PLUGIN_ARTIFACT (takari-lifecycle-plugin) configured with takari ArtifactID TAKARI_COMPILER_PLUGIN_VERSION (${version.io.takari.maven.plugins})configured with a placeholder and set with the correct value in the maven build with takari version
KIE_PLUGIN_GROUP (org.kie) configured with the GroupID of kie plugin from the Integration prj KIE_MAVEN_PLUGIN_ARTIFACT (kie-maven-plugin) configured with the artifactID of the kie-maven-plugin KIE_TAKARI_PLUGIN_ARTIFACT (kie-maven-plugin) configured with the artifactID of the kie-takari-plugin
KIE_VERSION (${version.org.kie}) configured with a placeholder and set with the correct value in the maven build
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigurationKeyvalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigurationKey[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPILER
public static final ConfigurationKey COMPILER
-
SOURCE_VERSION
public static final ConfigurationKey SOURCE_VERSION
-
TARGET_VERSION
public static final ConfigurationKey TARGET_VERSION
-
FAIL_ON_ERROR
public static final ConfigurationKey FAIL_ON_ERROR
-
MAVEN_COMPILER_PLUGIN_GROUP
public static final ConfigurationKey MAVEN_COMPILER_PLUGIN_GROUP
-
MAVEN_COMPILER_PLUGIN_ARTIFACT
public static final ConfigurationKey MAVEN_COMPILER_PLUGIN_ARTIFACT
-
MAVEN_COMPILER_PLUGIN_VERSION
public static final ConfigurationKey MAVEN_COMPILER_PLUGIN_VERSION
-
TAKARI_COMPILER_PLUGIN_GROUP
public static final ConfigurationKey TAKARI_COMPILER_PLUGIN_GROUP
-
TAKARI_COMPILER_PLUGIN_ARTIFACT
public static final ConfigurationKey TAKARI_COMPILER_PLUGIN_ARTIFACT
-
TAKARI_COMPILER_PLUGIN_VERSION
public static final ConfigurationKey TAKARI_COMPILER_PLUGIN_VERSION
-
KIE_PLUGIN_GROUP
public static final ConfigurationKey KIE_PLUGIN_GROUP
-
KIE_MAVEN_PLUGIN_ARTIFACT
public static final ConfigurationKey KIE_MAVEN_PLUGIN_ARTIFACT
-
KIE_TAKARI_PLUGIN_ARTIFACT
public static final ConfigurationKey KIE_TAKARI_PLUGIN_ARTIFACT
-
KIE_VERSION
public static final ConfigurationKey KIE_VERSION
-
-
Method Detail
-
values
public static ConfigurationKey[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConfigurationKey c : ConfigurationKey.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationKey valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-