org.jboss.pnc.cleaner.logverifier.BuildLogVerifierScheduler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cleaner Show documentation
Show all versions of cleaner Show documentation
This project is a service, which performs cleanup and maintenance tasks for PNC eco-system.
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();
}
}