<commit_before>/*******************************************************************************
 * Copyright (c) 2014 Made in Switzerland, <NAME>
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of The MIT License
 * which accompanies this distribution, and is available at
 * http://opensource.org/licenses/MIT
 *
 * Contributors:
 *     <NAME> - Tapestry 4 module change listener
 ******************************************************************************/
package ch.mlutz.plugins.t4e.index;

import ch.mlutz.plugins.t4e.tapestry.TapestryModule;
import ch.mlutz.plugins.t4e.tapestry.element.TapestryElement;

/**
 * @author <NAME>
 * @version 1.0 12.02.2014
 */

public interface ITapestryModuleChangeListener {
	/**
	 * Called after a tapestry element is added to the module.
	 *
	 * @param tapestryModule
	 * @param tapestryElement
	 */
	public abstract void elementAdded(
			TapestryModule tapestryModule, TapestryElement tapestryElement);

	/**
	 * Called before a tapestry element is removed from the module
	 *
	 * @param tapestryModule
	 * @param tapestryElement
	 */
	public abstract void elementRemoved (
			TapestryModule tapestryModule, TapestryElement tapestryElement);
}<commit_msg>Shortened parameter names.<commit_after>/*******************************************************************************
 * Copyright (c) 2014 Made in Switzerland, <NAME>
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of The MIT License
 * which accompanies this distribution, and is available at
 * http://opensource.org/licenses/MIT
 *
 * Contributors:
 *     <NAME> - Tapestry 4 module change listener
 ******************************************************************************/
package ch.mlutz.plugins.t4e.index;

import ch.mlutz.plugins.t4e.tapestry.TapestryModule;
import ch.mlutz.plugins.t4e.tapestry.element.TapestryElement;

/**
 * @author <NAME>
 * @version 1.0 12.02.2014
 */

public interface ITapestryModuleChangeListener {
	/**
	 * Called after a tapestry element is added to the module.
	 *
	 * @param module
	 * @param element
	 */
	public abstract void elementAdded(
			TapestryModule module, TapestryElement element);

	/**
	 * Called before a tapestry element is removed from the module
	 *
	 * @param module
	 * @param element
	 */
	public abstract void elementRemoved (
			TapestryModule module, TapestryElement element);
}
{'fraction_non_alphanumeric': 0.2047020672882043, 'fraction_numerical': 0.014592622618565058, 'mean_word_length': 4.73953488372093, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6743596', 'n_tokens_mistral': 710, 'n_tokens_neox': 612, 'n_words': 204}