Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * Copyright 2010 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.event.knowledgebase;
 
 
 public interface KnowledgeBaseEventListener
     extends
     EventListener {
    
Method called before a new package is added to the knowledge base

Parameters:
event
 
Method called after a new package is added to the knowledge base

Parameters:
event
 
Method called before a package is removed from the knowledge base

Parameters:
event
 
Method called after a package is removed from the knowledge base

Parameters:
event
 
Method called before a knowledge base is locked

Parameters:
event
 
Method called after a knowledge base is locked

Parameters:
event
 
Method called before a knowledge base is unlocked

Parameters:
event
 
Method called after a knowledge base is unlocked

Parameters:
event
 
Method called before a new rule is added to the knowledge base

Parameters:
event
 
     void beforeRuleAdded(BeforeRuleAddedEvent event);

    
Method called after a new rule is added to the knowledge base

Parameters:
event
 
     void afterRuleAdded(AfterRuleAddedEvent event);

    
Method called before a rule is removed from the knowledge base

Parameters:
event
 
     void beforeRuleRemoved(BeforeRuleRemovedEvent event);

    
Method called after a rule is removed from the knowledge base

Parameters:
event
 
     void afterRuleRemoved(AfterRuleRemovedEvent event);

    
Method called before a function is removed from the knowledge base

Parameters:
event
 
Method called after a function is removed from the rule base

Parameters:
event
    void afterFunctionRemoved(AfterFunctionRemovedEvent event);

    
Method called before a process is removed from the knowledge base

Parameters:
event
    void beforeProcessAdded(BeforeProcessAddedEvent event);

    
Method called after a function is removed from the knowledge base

Parameters:
event
    void afterProcessAdded(AfterProcessAddedEvent event);

    
Method called before a function is removed from the knowledge base

Parameters:
event
    void beforeProcessRemoved(BeforeProcessRemovedEvent event);

    
Method called after a function is removed from the knowledge base

Parameters:
event
New to GrepCode? Check out our FAQ X