All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.applitools.eyes.logging.LogSessionsClientEvents Maven / Gradle / Ivy

There is a newer version: 5.0.0
Show newest version
package com.applitools.eyes.logging;

import com.applitools.utils.ArgumentGuard;

import java.util.ArrayList;
import java.util.List;

public class LogSessionsClientEvents {
    private final List events;

    public LogSessionsClientEvents() {
        events = new ArrayList<>();
    }

    public int size() {
        return events.size();
    }

    public List getEvents() {
        return events;
    }

    public void addEvent(ClientEvent event) {
        ArgumentGuard.notNull(event, "event");
        events.add(event);
    }

    public void clear() {
        events.clear();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy