<commit_before>package com.epimorphics.registry.notification;

public interface NotificationAgent {
    void send(String msg, String target, String operation);
}<commit_msg>ADD Doc comments<commit_after>package com.epimorphics.registry.notification;

/**
 * Defines a way of notifying an external messaging system of changes in the registry.
 */
public interface NotificationAgent {
    /**
     * Send a message with the given parameters.
     * @param msg The current state of the target item, if the operation was constructive. Otherwise, null.
     * @param target The URI of the item which was changed.
     * @param operation The operation that was performed on the registry item.
     */
    void send(String msg, String target, String operation);
}
{'fraction_non_alphanumeric': 0.07142857142857142, 'fraction_numerical': 0.0, 'mean_word_length': 3.947712418300654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1795195', 'n_tokens_mistral': 188, 'n_tokens_neox': 182, 'n_words': 84}