Enum ConfigurationKey

  • All Implemented Interfaces:
    Serializable, Comparable<ConfigurationKey>

    public enum ConfigurationKey
    extends Enum<ConfigurationKey>
    Keys used to configure the Maven compiler in the kie-wb-common

    COMPILER (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

    • 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 name
        NullPointerException - if the argument is null