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 based- ClassPathRestartStrategy.- 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:- ClassPathRestartStrategyReturn true if a full restart is required.- Specified by:
- isRestartRequiredin interface- ClassPathRestartStrategy
- Parameters:
- file- the changed file
- Returns:
- trueif a full restart is required