Class PatternClassPathRestartStrategy
- java.lang.Object
- org.springframework.boot.devtools.classpath.PatternClassPathRestartStrategy
- All Implemented Interfaces:
ClassPathRestartStrategy
public class PatternClassPathRestartStrategy extends Object implements ClassPathRestartStrategy
Ant style pattern basedClassPathRestartStrategy
.- Since:
- 1.3.0
- See Also:
ClassPathRestartStrategy
Constructor Summary
Constructors Constructor Description PatternClassPathRestartStrategy(String excludePatterns)
PatternClassPathRestartStrategy(String[] excludePatterns)
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRestartRequired(ChangedFile file)
Return true if a full restart is required.
Constructor Detail
PatternClassPathRestartStrategy
public PatternClassPathRestartStrategy(String[] excludePatterns)
PatternClassPathRestartStrategy
public PatternClassPathRestartStrategy(String excludePatterns)
Method Detail
isRestartRequired
public boolean isRestartRequired(ChangedFile file)
Description copied from interface:ClassPathRestartStrategy
Return true if a full restart is required.- Specified by:
isRestartRequired
in interfaceClassPathRestartStrategy
- Parameters:
file
- the changed file- Returns:
true
if a full restart is required