Enum CompilationCacheProvider.DefaultCompilationCacheProvider
- java.lang.Object
-
- java.lang.Enum<CompilationCacheProvider.DefaultCompilationCacheProvider>
-
- org.drools.compiler.kie.builder.impl.CompilationCacheProvider.DefaultCompilationCacheProvider
-
- All Implemented Interfaces:
Serializable
,Comparable<CompilationCacheProvider.DefaultCompilationCacheProvider>
,CompilationCacheProvider
- Enclosing interface:
- CompilationCacheProvider
public static enum CompilationCacheProvider.DefaultCompilationCacheProvider extends Enum<CompilationCacheProvider.DefaultCompilationCacheProvider> implements CompilationCacheProvider
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.compiler.kie.builder.impl.CompilationCacheProvider
CompilationCacheProvider.DefaultCompilationCacheProvider, CompilationCacheProvider.Holder
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INSTANCE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InternalKieModule.CompilationCache
getCompilationCache(AbstractKieModule kieModule, Map<String,InternalKieModule.CompilationCache> compilationCache, String kbaseName)
static CompilationCacheProvider.DefaultCompilationCacheProvider
valueOf(String name)
Returns the enum constant of this type with the specified name.static CompilationCacheProvider.DefaultCompilationCacheProvider[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.void
writeKieModuleMetaInfo(InternalKieModule kModule, org.kie.memorycompiler.resources.ResourceStore trgMfs)
-
-
-
Enum Constant Detail
-
INSTANCE
public static final CompilationCacheProvider.DefaultCompilationCacheProvider INSTANCE
-
-
Method Detail
-
values
public static CompilationCacheProvider.DefaultCompilationCacheProvider[] 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 (CompilationCacheProvider.DefaultCompilationCacheProvider c : CompilationCacheProvider.DefaultCompilationCacheProvider.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CompilationCacheProvider.DefaultCompilationCacheProvider 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
-
getCompilationCache
public InternalKieModule.CompilationCache getCompilationCache(AbstractKieModule kieModule, Map<String,InternalKieModule.CompilationCache> compilationCache, String kbaseName)
- Specified by:
getCompilationCache
in interfaceCompilationCacheProvider
-
writeKieModuleMetaInfo
public void writeKieModuleMetaInfo(InternalKieModule kModule, org.kie.memorycompiler.resources.ResourceStore trgMfs)
- Specified by:
writeKieModuleMetaInfo
in interfaceCompilationCacheProvider
-
-