Interface FileModificationDetector
- All Known Implementing Classes:
ReferenceCommitDetector
,UncommittedChangesDetector
,UnpushedCommitsDetector
,WorkingDirectoryChangesDetector
public interface FileModificationDetector
SPI to plug different strategies of how to find the files currently modified in a project.
- Author:
- Lukas Dohmen, David Bilge, Oliver Drotbohm
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FileModificationDetector
getDetector
(PropertyResolver propertyResolver) Returns theFileModificationDetector
to be used.Returns allModifiedFile
s detected.static FileModificationDetector
getTargetDetector
(PropertyResolver propertyResolver)
-
Field Details
-
CONFIG_PROPERTY_PREFIX
- See Also:
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
getModifiedFiles
Stream<ModifiedFile> getModifiedFiles()Returns allModifiedFile
s detected.- Returns:
- will never be null.
-
getDetector
Returns theFileModificationDetector
to be used.- Parameters:
propertyResolver
- must not be null.- Returns:
- will never be null.
-
getTargetDetector
-