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

net.nemerosa.ontrack.model.events.EventQueryService Maven / Gradle / Ivy

package net.nemerosa.ontrack.model.events;

import net.nemerosa.ontrack.model.structure.ID;
import net.nemerosa.ontrack.model.structure.ProjectEntityType;
import net.nemerosa.ontrack.model.structure.Signature;

import java.util.List;
import java.util.Optional;

/**
 * Service used to get access to the list of events.
 */
public interface EventQueryService {

    List getEvents(int offset, int count);

    List getEvents(ProjectEntityType entityType, ID entityId, int offset, int count);

    List getEvents(ProjectEntityType entityType, ID entityId, EventType eventType, int offset, int count);

    Optional getLastEventSignature(ProjectEntityType entityType, ID entityId, EventType eventType);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy