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

net.nemerosa.ontrack.model.support.ApplicationLogService Maven / Gradle / Ivy

There is a newer version: 4.4.5
Show newest version
package net.nemerosa.ontrack.model.support;

import java.util.List;

/**
 * This service is used to log messages at application level, to be seen by operation and administration people.
 * 

* Having a message here would mean that something is defective in the application or in its configuration. */ public interface ApplicationLogService { /** * Total list of messages * * @return Count of entries */ int getLogEntriesTotal(); /** * List of messages * * @param filter Filter to use * @param page Pagination instructions * @return List of entries for the filter and the page */ List getLogEntries(ApplicationLogEntryFilter filter, Page page); /** * Logs an entry * * @param entry Entry to log */ void log(ApplicationLogEntry entry); /** * Removes all entries which are older than x days * * @param retentionDays Number of days to retain log entries */ void cleanup(int retentionDays); /** * Deletes all log entries */ void deleteLogEntries(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy