Class ChangedFile
java.lang.Object
org.springframework.boot.devtools.filewatch.ChangedFile
A single file that has changed.
- Since:
 - 1.3.0
 - Author:
 - Phillip Webb
 - See Also:
 
- 
Nested Class Summary
Nested Classes - 
Constructor Summary
ConstructorsConstructorDescriptionChangedFile(File sourceDirectory, File file, ChangedFile.Type type) Create a newChangedFileinstance. - 
Method Summary
 
- 
Constructor Details
- 
ChangedFile
Create a newChangedFileinstance.- Parameters:
 sourceDirectory- the source directoryfile- the filetype- the type of change
 
 - 
 - 
Method Details
- 
getFile
Return the file that was changed.- Returns:
 - the file
 
 - 
getType
Return the type of change.- Returns:
 - the type of change
 
 - 
getRelativeName
Return the name of the file relative to the source directory.- Returns:
 - the relative name
 
 - 
equals
 - 
hashCode
public int hashCode() - 
toString
 
 -