io.micronaut.starter.cli.command.project.job.javaJob.rocker.raw Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of micronaut-micronaut-cli Show documentation
Show all versions of micronaut-micronaut-cli Show documentation
Generates Micronaut applications
@import io.micronaut.starter.application.Project
@args (
Project project
)
@if (project.getPackageName() != null) {
package @project.getPackageName();
}
import javax.inject.Singleton;
import io.micronaut.scheduling.annotation.Scheduled;
@@Singleton
public class @project.getClassName() {
@@Scheduled(fixedRate = "5m")
public void process() {}
}