Enum AlphaNetworkCompilerOption

java.lang.Object
java.lang.Enum<AlphaNetworkCompilerOption>
org.kie.internal.builder.conf.AlphaNetworkCompilerOption
All Implemented Interfaces:
Serializable, Comparable<AlphaNetworkCompilerOption>, java.lang.constant.Constable, org.kie.api.conf.Option, org.kie.api.conf.SingleValueOption, KnowledgeBuilderOption, SingleValueKieBuilderOption, SingleValueRuleBuilderOption

public enum AlphaNetworkCompilerOption extends Enum<AlphaNetworkCompilerOption> implements SingleValueRuleBuilderOption
An Enum for AlphaNetworkCompilerOption option. drools.alphaNetworkCompiler = <disabled|inmemory|load> Disabled: Do not generate compiled alpha network InMemory: Generate compiled alpha network after creation of the kiebase and compile it in-memory Load : Assume compiled alpha network is already compiled in the kjar, load it from the classpath DEFAULT = disabled
  • Enum Constant Details

  • Field Details

  • Method Details

    • values

      public static AlphaNetworkCompilerOption[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AlphaNetworkCompilerOption 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
    • getMode

      public String getMode()
    • getPropertyName

      public String getPropertyName()
      Specified by:
      getPropertyName in interface org.kie.api.conf.Option
    • determineAlphaNetworkCompilerMode

      public static AlphaNetworkCompilerOption determineAlphaNetworkCompilerMode(String mode)