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

org.jboss.pnc.cleaner.logverifier.BuildLogVerifierScheduler Maven / Gradle / Ivy

Go to download

This project is a service, which performs cleanup and maintenance tasks for PNC eco-system.

There is a newer version: 3.0.2
Show newest version
package org.jboss.pnc.cleaner.logverifier;

import io.micrometer.core.annotation.Timed;
import io.quarkus.scheduler.Scheduled;

import javax.inject.Inject;

/**
 * @author Matej Lazar
 */
public class BuildLogVerifierScheduler {

    @Inject
    BuildLogVerifier buildLogVerifier;

    @Timed
    @Scheduled(cron = "{buildLogVerifierScheduler.cron}")
    public void verifyBuildLogs() {
        buildLogVerifier.verifyUnflaggedBuilds();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy