List of usage examples for org.springframework.boot.devtools.classpath ClassPathChangedEvent getChangeSet
public Set<ChangedFiles> getChangeSet()
From source file:org.springframework.boot.devtools.remote.client.ClassPathChangeUploader.java
private ClassLoaderFiles getClassLoaderFiles(ClassPathChangedEvent event) throws IOException { ClassLoaderFiles files = new ClassLoaderFiles(); for (ChangedFiles changedFiles : event.getChangeSet()) { String sourceFolder = changedFiles.getSourceFolder().getAbsolutePath(); for (ChangedFile changedFile : changedFiles) { files.addFile(sourceFolder, changedFile.getRelativeName(), asClassLoaderFile(changedFile)); }/* w w w . j a v a 2s . c om*/ } return files; }