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 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