Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.api.runtime.KieSessionConfiguration;
 
 import static org.drools.impl.adapters.AdapterUtil.*;
    private final KieSessionConfiguration delegate;
    public KnowledgeSessionConfigurationAdapter(KieSessionConfiguration delegate) {
        this. = delegate;
    }
    public <T extends KnowledgeSessionOptionvoid setOption(T option) {
        .setOption(adaptOption(option));
    }
    public <T extends SingleValueKnowledgeSessionOption> T getOption(Class<T> option) {
        return (T)adaptOption(.getOption(adaptSingleValueSessionOption(option)));
    }
    public <T extends MultiValueKnowledgeSessionOption> T getOption(Class<T> optionString key) {
        return (T)adaptOption(.getOption(adaptMultiValueSessionOption(option), key));
    }
    public void setProperty(String nameString value) {
        .setProperty(namevalue);
    }
    public String getProperty(String name) {
        return .getProperty(name);
    }
    public KieSessionConfiguration getDelegate() {
        return ;
    }
    @Override
    public int hashCode() {
        return .hashCode();
    }
    @Override
    public boolean equals(Object obj) {
        return obj instanceof KnowledgeSessionConfigurationAdapter && .equals(((KnowledgeSessionConfigurationAdapter)obj).);
    }
New to GrepCode? Check out our FAQ X