Package com.atlassian.jira.health
Class PreviousVersionHashService
java.lang.Object
com.atlassian.jira.health.PreviousVersionHashService
Provides the 'baseline' (i.e. unmodified) hashes of files in the version we are upgrading *from*
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPreviousVersionHashService
(ModificationMigrationLocationService locationService) -
Method Summary
Modifier and TypeMethodDescriptionstatic PreviousVersionHashService
<T> T
Carry out some operations with access to the baseline hashes.
-
Constructor Details
-
PreviousVersionHashService
-
-
Method Details
-
getInstance
-
withHashProvider
Carry out some operations with access to the baseline hashes. This allows the hashes to be loaded and then used in a scope without keeping them in memory after they are no longer needed.- Parameters:
f
- the function to perform- Returns:
- the value producd by the function
-