Package org.kie.internal.conf
Class CompositeConfiguration<T extends Option,S extends SingleValueOption,M extends MultiValueOption>
java.lang.Object
org.kie.internal.conf.CompositeConfiguration<T,S,M>
- All Implemented Interfaces:
Externalizable,Serializable,OptionsConfiguration<T,,S, M> PropertiesConfiguration
- Direct Known Subclasses:
CompositeBaseConfiguration
public class CompositeConfiguration<T extends Option,S extends SingleValueOption,M extends MultiValueOption>
extends Object
implements OptionsConfiguration<T,S,M>, Externalizable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCompositeConfiguration(ChainedProperties chainedProperties, ClassLoader classloader, ConfigurationFactory<T, S, M>... factories) -
Method Summary
Modifier and TypeMethodDescription<X extends OptionsConfiguration<T,S, M>>
Xas(ConfigurationKey<X> configuration) <C extends S>
C<C extends M>
CgetOptionSubKeys(OptionKey<C> optionKey) getProperty(String name) getProperty(PropertiesConfiguration exclude, String name) voidvoidvoidsetClassLoader(ClassLoader classLoader) <C extends T>
voidsetOption(C option) booleansetProperty(String name, String value) booleansetProperty(PropertiesConfiguration exclude, String name, String value) voidMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.conf.OptionsConfiguration
getOptionKeys
-
Constructor Details
-
CompositeConfiguration
public CompositeConfiguration(ChainedProperties chainedProperties, ClassLoader classloader, ConfigurationFactory<T, S, M>... factories)
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
makeImmutable
public void makeImmutable()- Specified by:
makeImmutablein interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
setOption
- Specified by:
setOptionin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
getOption
- Specified by:
getOptionin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
getOption
- Specified by:
getOptionin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
getOptionSubKeys
- Specified by:
getOptionSubKeysin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
getClassLoader
- Specified by:
getClassLoaderin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
setClassLoader
-
getProperties
-
as
- Specified by:
asin interfaceOptionsConfiguration<T extends Option,S extends SingleValueOption, M extends MultiValueOption>
-
setProperty
- Specified by:
setPropertyin interfacePropertiesConfiguration
-
getProperty
- Specified by:
getPropertyin interfacePropertiesConfiguration
-
setProperty
-
getProperty
-