Class ClassLoaderFiles.SourceFolder
- java.lang.Object
- org.springframework.boot.devtools.restart.classloader.ClassLoaderFiles.SourceFolder
- All Implemented Interfaces:
Serializable
- Enclosing class:
- ClassLoaderFiles
public static class ClassLoaderFiles.SourceFolder extends Object implements Serializable
An individual source folder that is being managed by the collection.- See Also:
- Serialized Form
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
add(String name, ClassLoaderFile file)
protected ClassLoaderFile
get(String name)
Collection<ClassLoaderFile>
getFiles()
Return allClassLoaderFiles
in the collection that are contained in this source folder.Set<Map.Entry<String,ClassLoaderFile>>
getFilesEntrySet()
String
getName()
Return the name of the source folder.protected void
remove(String name)
Method Detail
getFilesEntrySet
public Set<Map.Entry<String,ClassLoaderFile>> getFilesEntrySet()
add
protected final void add(String name, ClassLoaderFile file)
get
protected final ClassLoaderFile get(String name)
getName
public String getName()
Return the name of the source folder.- Returns:
- the name of the source folder
getFiles
public Collection<ClassLoaderFile> getFiles()
Return allClassLoaderFiles
in the collection that are contained in this source folder.- Returns:
- the files contained in the source folder