ce8854b89e0e2c54d5467b27d6f376cd418bbc5b
* Added unit tests * Introduced @EnableTask * Readme updated to include @EnableTask * Removed warnings from build * Cleanup
= Spring Cloud Task
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.
== Requirements:
* Java 7 or Above
== Build:
[source,shell,indent=2]
----
$ mvn -s settings.xml clean install
----
== Example:
[source,java,indent=2]
----
@SpringBootApplication
@EnableTask
public class MyApp {
@Bean
public MyTask myTask() {
return new MyTask();
}
public static void main(String[] args) {
SpringApplication.run(MyApp.class);
}
@Task("HelloWorldTask")
public static class MyTask implements CommandLineRunner {
@Override
public void run(String... strings) throws Exception {
System.out.println("Hello World");
}
}
}
----
Description
Languages
Java
92.4%
XSLT
6.4%
CSS
1.1%