<commit_before>package aQute.bnd.service;

import java.util.*;

/**
 * An interface to allow bnd to provide commands on selected entries. Primary
 * use case is the repository that provides commands on its entries. The
 * interface also provides the possibility to get some details of an entry.
 */
public interface Actionable {
	/**
	 * Return a map with command names (potentially localized) and a Runnable.
	 * The caller can execute the caller at will.
	 * 
	 * @param target
	 *            the target object, null if commands for the encompassing
	 *            entity is sought (e.g. the repo itself).
	 * @return A Map with the actions or null if no actions are available.
	 * @throws Exception
	 */
	Map<String,Runnable> actions(Object target) throws Exception;

	/**
	 * Return a tooltip for the given target or the encompassing entity if null
	 * is passed.
	 * 
	 * @param target
	 *            the target or null
	 * @return the tooltip or null
	 * @throws Exception 
	 */
	String tooltip(Object target) throws Exception;
}<commit_msg>Use multiple args for identifying the entry<commit_after>package aQute.bnd.service;

import java.util.*;

/**
 * An interface to allow bnd to provide commands on selected entries. Primary
 * use case is the repository that provides commands on its entries. The
 * interface also provides the possibility to get some details of an entry.
 */
public interface Actionable {
	/**
	 * Return a map with command names (potentially localized) and a Runnable.
	 * The caller can execute the caller at will.
	 * 
	 * @param target
	 *            the target object, null if commands for the encompassing
	 *            entity is sought (e.g. the repo itself).
	 * @return A Map with the actions or null if no actions are available.
	 * @throws Exception
	 */
	Map<String,Runnable> actions(Object ... target) throws Exception;

	/**
	 * Return a tooltip for the given target or the encompassing entity if null
	 * is passed.
	 * 
	 * @param target
	 *            the target, any number of parameters to identify
	 * @return the tooltip or null
	 * @throws Exception 
	 */
	String tooltip(Object ... target) throws Exception;
}
{'fraction_non_alphanumeric': 0.07261794634597594, 'fraction_numerical': 0.0, 'mean_word_length': 3.0279329608938546, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4550966', 'n_tokens_mistral': 586, 'n_tokens_neox': 528, 'n_words': 276}