Package edu.umd.cs.findbugs.ba
Class SourceFinder.BlockingSourceRepository
java.lang.Object
edu.umd.cs.findbugs.ba.SourceFinder.BlockingSourceRepository
- All Implemented Interfaces:
SourceFinder.SourceRepository
,AutoCloseable
- Enclosing class:
SourceFinder
static class SourceFinder.BlockingSourceRepository
extends Object
implements SourceFinder.SourceRepository
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) SourceFinder.SourceRepository
(package private) final CountDownLatch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
await()
void
close()
boolean
getDataSource
(String fileName) boolean
boolean
isReady()
void
-
Field Details
-
base
-
ready
-
-
Constructor Details
-
BlockingSourceRepository
public BlockingSourceRepository()
-
-
Method Details
-
isReady
public boolean isReady() -
setBase
-
await
private void await() -
contains
- Specified by:
contains
in interfaceSourceFinder.SourceRepository
-
getDataSource
- Specified by:
getDataSource
in interfaceSourceFinder.SourceRepository
-
isPlatformDependent
public boolean isPlatformDependent()- Specified by:
isPlatformDependent
in interfaceSourceFinder.SourceRepository
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSourceFinder.SourceRepository
- Throws:
IOException
-