Is a project centered around the idea of processing on demand. A user is able to develop a “task” that can be deployed, executed and removed on demand, yet the result of the process persists beyond the life of the task for future reporting.
@SpringBootApplication@EnableTaskpublicclassMyApp {
@BeanpublicMyTaskApplicationmyTask() {
returnnewMyTaskApplication();
}
publicstaticvoidmain(String[] args) {
SpringApplication.run(MyApp.class);
}
publicstaticclassMyTaskApplicationimplementsApplicationRunner {
@Overridepublicvoidrun(ApplicationArgumentsargs) throwsException {
System.out.println("Hello World");
}
}
}This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to spring-code-of-conduct@pivotal.io.