/*
 * Copyright 2011 JBoss Inc
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package org.drools.fluent;

import org.drools.builder.ResourceConfiguration;
import org.drools.builder.ResourceType;
import org.drools.io.Resource;

public interface FluentKnowledgeBase<T> {
    
    T addKnowledgePackages();
    
    T addKnowledgePackages(Resource resource,
                           ResourceType type);
    
    T addKnowledgePackages(Resource resource,
                           ResourceType type,
                           ResourceConfiguration configuration);   
    
}

@@ -620,468 +620,84 @@
 t;%0A%0A
-import org.drools.builder.ResourceConfiguration;%0Aimport org.drools.builder.ResourceType;%0Aimport org.drools.io.Resource;%0A%0Apublic interface FluentKnowledgeBase%3CT%3E %7B%0A    %0A    T addKnowledgePackages();%0A    %0A    T addKnowledgePackages(Resource resource,%0A                           ResourceType type);%0A    %0A    T addKnowledgePackages(Resource resource,%0A                           ResourceType type,%0A                           ResourceConfiguration configuration);   
+public interface FluentKnowledgeBase%3CT%3E %7B%0A    %0A    T addKnowledgePackages();
 %0A   

deal with compact use cases