<commit_before>package edu.kit.ipd.crowdcontrol.objectservice.event;

import edu.ipd.kit.crowdcontrol.objectservice.database.model.tables.Answers;
import edu.ipd.kit.crowdcontrol.objectservice.database.model.tables.Experiment;
import edu.ipd.kit.crowdcontrol.objectservice.database.model.tables.Ratings;

/**
 * Created by marcel on 02.01.16.
 */
public class EventManager {
    public static final EventObservable<Experiment> NEW_EXPERIMENT = new EventObservable<>();
    public static final EventObservable<ChangeEvent<Experiment>> CHANGE_EXPERIMENT = new EventObservable<>();
    public static final EventObservable<Experiment> DEL_EXPERIMENT = new EventObservable<>();
    public static final EventObservable<Answers> NEW_ANSWER = new EventObservable<>();
    public static final EventObservable<Ratings> NEW_RATINGS = new EventObservable<>();
}<commit_msg>event: add new events<commit_after>package edu.kit.ipd.crowdcontrol.objectservice.event;

import edu.kit.ipd.crowdcontrol.objectservice.proto.*;

/**
 * Created by marcel on 02.01.16.
 */
public class EventManager {
    public static final EventObservable<Experiment> EXPERIMENT_CREATE = new EventObservable<>();
    public static final EventObservable<ChangeEvent<Experiment>> EXPERIMENT_CHANGE = new EventObservable<>();
    public static final EventObservable<Experiment> EXPERIMENT_DELETE = new EventObservable<>();
    public static final EventObservable<Answer> ANSWER_CREATE = new EventObservable<>();
    public static final EventObservable<Rating> RATINGS_CREATE = new EventObservable<>();
    public static final EventObservable<Worker> WORKER_CREATE = new EventObservable<>();
    public static final EventObservable<Worker> WORKER_DELETE = new EventObservable<>();
    public static final EventObservable<Template> TEMPLATE_CREATE = new EventObservable<>();
    public static final EventObservable<ChangeEvent<Template>> TEMPLATE_UPDATE = new EventObservable<>();
    public static final EventObservable<Template> TEMPLATE_DELETE = new EventObservable<>();
    public static final EventObservable<Population> POPULATION_CREATE = new EventObservable<>();
    public static final EventObservable<Population> POPULATION_UPDATE = new EventObservable<>();
    public static final EventObservable<Notification> NOTIFICATION_CREATE = new EventObservable<>();
    public static final EventObservable<ChangeEvent<Notification>> NOTIFICATION_UPDATE = new EventObservable<>();
    public static final EventObservable<Notification> NOTIFICATION_DELETE = new EventObservable<>();
}
{'fraction_non_alphanumeric': 0.09602518693427785, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 6.520710059171598, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '7252431', 'n_tokens_mistral': 704, 'n_tokens_neox': 672, 'n_words': 171}