Class NullStrategy
java.lang.Object
org.variantsync.diffdetective.analysis.strategies.AnalysisStrategy
org.variantsync.diffdetective.analysis.strategies.NullStrategy
Empty strategy that does nothing.
- Author:
- Paul Bittner
-
Field Summary
Fields inherited from class org.variantsync.diffdetective.analysis.strategies.AnalysisStrategy
outputPath, repo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
Invoked when the analysis is done for the current repository.onCommit
(CommitDiff commit) Invoked before a commit is analyzed.Methods inherited from class org.variantsync.diffdetective.analysis.strategies.AnalysisStrategy
start
-
Constructor Details
-
NullStrategy
public NullStrategy()
-
-
Method Details
-
onCommit
Description copied from class:AnalysisStrategy
Invoked before a commit is analyzed. The returned line graph export destination is closed after processing the commit given bycommit
.- Specified by:
onCommit
in classAnalysisStrategy
- Parameters:
commit
- The commit that was just processed.- Returns:
- the line graph export destination
-
end
public void end()Description copied from class:AnalysisStrategy
Invoked when the analysis is done for the current repository. The analysis might restart with another repository. In this case,AnalysisStrategy.start(org.variantsync.diffdetective.datasets.Repository, java.nio.file.Path)
is invoked again.- Specified by:
end
in classAnalysisStrategy
-