public class FrameworkDetectorRegistryImpl extends FrameworkDetectorRegistry implements Disposable
Disposable.Parent| Constructor and Description |
|---|
FrameworkDetectorRegistryImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
FrameworkType |
findFrameworkType(java.lang.String typeId) |
java.util.Set<FileType> |
getAcceptedFileTypes() |
java.util.Collection<java.lang.Integer> |
getAllDetectorIds() |
static java.nio.file.Path |
getDetectionDirPath() |
FrameworkDetector |
getDetectorById(int id) |
int |
getDetectorId(FrameworkDetector detector) |
java.util.Collection<java.lang.Integer> |
getDetectorIds(FileType fileType) |
MultiMap<FileType,Pair<ElementPattern<FileContent>,java.lang.Integer>> |
getDetectorsMap() |
int |
getDetectorsVersion() |
java.util.List<? extends FrameworkType> |
getFrameworkTypes() |
getInstancepublic MultiMap<FileType,Pair<ElementPattern<FileContent>,java.lang.Integer>> getDetectorsMap()
getDetectorsMap in class FrameworkDetectorRegistrypublic java.util.Set<FileType> getAcceptedFileTypes()
getAcceptedFileTypes in class FrameworkDetectorRegistrypublic static java.nio.file.Path getDetectionDirPath()
public FrameworkType findFrameworkType(java.lang.String typeId)
findFrameworkType in class FrameworkDetectorRegistrypublic java.util.List<? extends FrameworkType> getFrameworkTypes()
getFrameworkTypes in class FrameworkDetectorRegistrypublic int getDetectorsVersion()
getDetectorsVersion in class FrameworkDetectorRegistrypublic int getDetectorId(FrameworkDetector detector)
getDetectorId in class FrameworkDetectorRegistrypublic FrameworkDetector getDetectorById(int id)
getDetectorById in class FrameworkDetectorRegistrypublic java.util.Collection<java.lang.Integer> getDetectorIds(FileType fileType)
getDetectorIds in class FrameworkDetectorRegistrypublic java.util.Collection<java.lang.Integer> getAllDetectorIds()
getAllDetectorIds in class FrameworkDetectorRegistrypublic void dispose()
Disposabledispose in interface Disposable