Package org.drools.core
Class SessionConfiguration
java.lang.Object
org.drools.core.BaseConfiguration<KieSessionOption,SingleValueKieSessionOption,MultiValueKieSessionOption>
org.drools.core.SessionConfiguration
- All Implemented Interfaces:
Externalizable,Serializable,OptionsConfiguration<KieSessionOption,,SingleValueKieSessionOption, MultiValueKieSessionOption> PropertiesConfiguration,KieSessionOptionsConfiguration,KieSessionConfiguration,InternalPropertiesConfiguration
public class SessionConfiguration
extends BaseConfiguration<KieSessionOption,SingleValueKieSessionOption,MultiValueKieSessionOption>
implements KieSessionConfiguration, Externalizable
- See Also:
-
Field Summary
FieldsFields inherited from class org.drools.core.BaseConfiguration
compConfig -
Constructor Summary
ConstructorsConstructorDescriptionSessionConfiguration(CompositeConfiguration<KieSessionOption, SingleValueKieSessionOption, MultiValueKieSessionOption> compConfig) -
Method Summary
Modifier and TypeMethodDescriptionaddDefaultProperties(Properties properties) final booleanfinal StringgetInternalProperty(String name) final <T extends SingleValueKieSessionOption>
Tfinal <T extends MultiValueKieSessionOption>
T<C extends MultiValueKieSessionOption>
Set<String>getOptionSubKeys(OptionKey<C> optionKey) getRunner(KieBase kbase, Environment environment) final TimerJobFactoryManagerfinal inthashCode()booleanbooleanvoidvoidsetClockType(ClockType clockType) final booleansetInternalProperty(String name, String value) voidsetKeepReference(boolean keepReference) final <T extends KieSessionOption>
voidsetOption(T option) voidsetTimerJobFactoryType(TimerJobFactoryType timerJobFactoryType) voidMethods inherited from class org.drools.core.BaseConfiguration
as, checkCanChange, getChainedProperties, getClassLoader, getProperties, getProperty, getPropertyValue, isImmutable, makeImmutable, setClassLoader, setPropertyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.conf.OptionsConfiguration
as, getClassLoader, getOptionKeys, makeImmutableMethods inherited from interface org.kie.api.PropertiesConfiguration
getProperty, setProperty
-
Field Details
-
KEY
-
-
Constructor Details
-
SessionConfiguration
public SessionConfiguration(CompositeConfiguration<KieSessionOption, SingleValueKieSessionOption, MultiValueKieSessionOption> compConfig)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classBaseConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption> - Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classBaseConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption> - Throws:
IOExceptionClassNotFoundException
-
setOption
- Specified by:
setOptionin interfaceOptionsConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption>
-
getOption
- Specified by:
getOptionin interfaceOptionsConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption>
-
getOption
- Specified by:
getOptionin interfaceOptionsConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption>
-
getOptionSubKeys
- Specified by:
getOptionSubKeysin interfaceOptionsConfiguration<KieSessionOption,SingleValueKieSessionOption, MultiValueKieSessionOption>
-
setInternalProperty
- Specified by:
setInternalPropertyin interfaceInternalPropertiesConfiguration
-
getInternalProperty
- Specified by:
getInternalPropertyin interfaceInternalPropertiesConfiguration
-
addDefaultProperties
-
setKeepReference
public void setKeepReference(boolean keepReference) -
isKeepReference
public boolean isKeepReference() -
hasPersistedSessionOption
public boolean hasPersistedSessionOption() -
getPersistedSessionOption
-
getClockType
-
setClockType
-
getTimerJobFactoryType
-
setTimerJobFactoryType
-
getTimerJobFactoryManager
-
getRunner
-
createTimerService
-
equals
-
hashCode
public final int hashCode()
-