Interface ClassPathRestartStrategy

All Known Implementing Classes:
PatternClassPathRestartStrategy
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ClassPathRestartStrategy
Strategy interface used to determine when a changed classpath file should trigger a full application restart. For example, static web resources might not require a full restart whereas class files would.
Since:
1.3.0
Author:
Phillip Webb
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if a full restart is required.
  • Method Details

    • isRestartRequired

      boolean isRestartRequired(ChangedFile file)
      Return true if a full restart is required.
      Parameters:
      file - the changed file
      Returns:
      true if a full restart is required