Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.drools.impl.adapters;
 
 import  org.kie.internal.builder.CompositeKnowledgeBuilder;
 
 
    private final CompositeKnowledgeBuilder delegate;
    public CompositeKnowledgeBuilderAdapter(CompositeKnowledgeBuilder delegate) {
        this. = delegate;
    }
        .type(type.toKieResourceType());
        return this;
    }
    public org.drools.builder.CompositeKnowledgeBuilder add(Resource resource) {
        .add(((ResourceAdapter)resource).getDelegate());
        return this;
    }
    public org.drools.builder.CompositeKnowledgeBuilder add(Resource resourceResourceType type) {
        .add(((ResourceAdapter)resource).getDelegate(), type.toKieResourceType());
        return this;
    }
    public org.drools.builder.CompositeKnowledgeBuilder add(Resource resourceResourceType typeResourceConfiguration configuration) {
        .add(((ResourceAdapter)resource).getDelegate(), type.toKieResourceType(), (org.kie.api.io.ResourceConfiguration) null);
        return this;
    }
    public void build() {
        .build();
    }
New to GrepCode? Check out our FAQ X