@EnableTask @SpringBootApplication @EnableConfigurationProperties(value=TimestampTaskProperties.class) public class TaskApplication extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TaskApplication.TimestampTask
A commandline runner that prints a timestamp.
|
| Constructor and Description |
|---|
TaskApplication() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args) |
TaskApplication.TimestampTask |
timeStampTask() |
public static void main(String[] args)
@Bean public TaskApplication.TimestampTask timeStampTask()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.