Class LexoRankHealOperation
java.lang.Object
com.atlassian.greenhopper.service.lexorank.LexoRankHealOperation
Encapsulates a single rank heal operation in a command pattern.
A Heal operation is where two or more rows have the same rank and need to be made distinct without doing a balance
operation.
First the rows to be healed are checked if they indeed contain duplicate rank values. If they don't, the operation
completes without changing any rows. If there are duplicate rank values detected, the duplicating row's rank value
will be changed.
This operation does not attempt to acquire a lock on the rows it is modifying.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionbuilder
(LexoRankDao lexoRankDao, LexoRankStatisticsAgent lexoRankStatisticsAgent) execute()
-
Method Details
-
builder
public static LexoRankHealOperation.ForRankField builder(LexoRankDao lexoRankDao, LexoRankStatisticsAgent lexoRankStatisticsAgent) -
execute
-