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() |
getInstance
public MultiMap<FileType,Pair<ElementPattern<FileContent>,java.lang.Integer>> getDetectorsMap()
getDetectorsMap
in class FrameworkDetectorRegistry
public java.util.Set<FileType> getAcceptedFileTypes()
getAcceptedFileTypes
in class FrameworkDetectorRegistry
public static java.nio.file.Path getDetectionDirPath()
public FrameworkType findFrameworkType(java.lang.String typeId)
findFrameworkType
in class FrameworkDetectorRegistry
public java.util.List<? extends FrameworkType> getFrameworkTypes()
getFrameworkTypes
in class FrameworkDetectorRegistry
public int getDetectorsVersion()
getDetectorsVersion
in class FrameworkDetectorRegistry
public int getDetectorId(FrameworkDetector detector)
getDetectorId
in class FrameworkDetectorRegistry
public FrameworkDetector getDetectorById(int id)
getDetectorById
in class FrameworkDetectorRegistry
public java.util.Collection<java.lang.Integer> getDetectorIds(FileType fileType)
getDetectorIds
in class FrameworkDetectorRegistry
public java.util.Collection<java.lang.Integer> getAllDetectorIds()
getAllDetectorIds
in class FrameworkDetectorRegistry
public void dispose()
Disposable
dispose
in interface Disposable