Package org.springframework.cloud.task.timestamp

# Class TaskApplication.TimestampTask

java.lang.Object
org.springframework.cloud.task.timestamp.TaskApplication.TimestampTask

All Implemented Interfaces:
  `org.springframework.boot.CommandLineRunner`

Enclosing class:
  TaskApplication

public static class TaskApplication.TimestampTask extends Object implements org.springframework.boot.CommandLineRunner
A commandline runner that prints a timestamp.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TimestampTask()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `run(String... strings)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### TimestampTask

    public TimestampTask()

- ## Method Details

  - ### run

    public void run(String... strings) throws Exception
    Specified by:
      `run` in interface `org.springframework.boot.CommandLineRunner`
    Throws:
      `Exception`