Example usage for org.springframework.boot.devtools.restart Restarter instance

List of usage examples for org.springframework.boot.devtools.restart Restarter instance

Introduction

In this page you can find the example usage for org.springframework.boot.devtools.restart Restarter instance.

Prototype

Restarter instance

To view the source code for org.springframework.boot.devtools.restart Restarter instance.

Click Source Link

Usage

From source file:org.springframework.boot.devtools.restart.Restarter.java

/**
 * Set the restarter instance (useful for testing).
 * @param instance the instance to set/* www .  j  a  v  a 2s .  c o  m*/
 */
final static void setInstance(Restarter instance) {
    Restarter.instance = instance;
}