Class IntegrityChecker
java.lang.Object
com.atlassian.jira.appconsistency.integrity.IntegrityChecker
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncorrectWithIds
(List<Long> checkIds) correctWithIdsWithProgress
(List<Long> checkIds, Context taskContext) Since 9.11 - progress aware version of {@link this#correctWithIds(List)}previewWithIds
(List<Long> checkIds) previewWithIdsWithProgress
(List<Long> checkIds, Context taskContext) Since 9.11 - progress aware version of {@link this#previewWithIds(List)}
-
Constructor Details
-
IntegrityChecker
-
-
Method Details
-
preview
- Throws:
IntegrityException
-
previewWithIds
- Throws:
IntegrityException
-
previewWithIdsWithProgress
public Map<Long,List<Amendment>> previewWithIdsWithProgress(List<Long> checkIds, Context taskContext) throws IntegrityException Since 9.11 - progress aware version of {@link this#previewWithIds(List)}- Parameters:
checkIds
- the id's of checks to runtaskContext
- task percentage context that allows returning progress to the user- Returns:
- the map of results, where the key is checkId and the value is the list of amendments for the given key
- Throws:
IntegrityException
-
correct
- Throws:
IntegrityException
-
correctWithIds
- Throws:
IntegrityException
-
correctWithIdsWithProgress
public Map<Long,List<Amendment>> correctWithIdsWithProgress(List<Long> checkIds, Context taskContext) throws IntegrityException Since 9.11 - progress aware version of {@link this#correctWithIds(List)}- Parameters:
checkIds
- the id's of checks to runtaskContext
- task percentage context that allows returning progress to the user- Returns:
- the map of results, where the key is checkId and the value is the list of amendments for the given key
- Throws:
IntegrityException
-
preview
- Throws:
IntegrityException
-
correct
- Throws:
IntegrityException
-