<commit_before>package com.niafikra.meddela.data

/**
 * A comprises of all the information that can lead up to the
 * sending out of a notification
 *
 * @author <NAME>
 * Date: 18/07/12
 * Time: 17:41
 */
class Notification {
    String name = ''
    String description = ''
    DataSource dataSource = new DataSource()    // the data source this notification belongs too.
    Trigger trigger = new Trigger()             // the trigger to check on the datasource, if it is satisfied then
    Template template = new Template()          // compose a message using this template.
    String schedulerId = ''                     // the Task id used for this notification trigger by the scheduler.
    boolean enabled                             // the status of the notification if its enabled or disabled.

    boolean equals(Notification notification) {<commit_msg>added a transport field on notification to enable flexibility on the choice of transport mechanism<commit_after>package com.niafikra.meddela.data

/**
 * A comprises of all the information that can lead up to the
 * sending out of a notification
 *
 * @author <NAME>
 * Date: 18/07/12
 * Time: 17:41
 */
class Notification {
    String name = ''
    String description = ''
    String transport
    DataSource dataSource = new DataSource()    // the data source this notification belongs too.
    Trigger trigger = new Trigger()             // the trigger to check on the datasource, if it is satisfied then
    Template template = new Template()          // compose a message using this template.
    String schedulerId = ''                     // the Task id used for this notification trigger by the scheduler.
    boolean enabled                             // the status of the notification if its enabled or disabled.

    boolean equals(Notification notification) {
{'fraction_non_alphanumeric': 0.06746463547334058, 'fraction_numerical': 0.01088139281828074, 'mean_word_length': 2.489563567362429, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '827042', 'n_tokens_mistral': 449, 'n_tokens_neox': 418, 'n_words': 208}