Class SumScoreFunction
- java.lang.Object
-
- com.atlassian.confluence.search.v2.score.SumScoreFunction
-
- All Implemented Interfaces:
ComposableScoreFunction
,ScoreFunction
public final class SumScoreFunction extends Object implements ComposableScoreFunction
ScoreFunction which sums composed functions and constants.- Since:
- 7.0
-
-
Constructor Summary
Constructors Constructor Description SumScoreFunction(@NonNull List<ComposableScoreFunction> functions, @NonNull List<Double> constants)
SumScoreFunction(ComposableScoreFunction function1, ComposableScoreFunction function2, ComposableScoreFunction... functions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Double>
getConstants()
List<ComposableScoreFunction>
getFunctions()
-
-
-
Constructor Detail
-
SumScoreFunction
public SumScoreFunction(ComposableScoreFunction function1, ComposableScoreFunction function2, ComposableScoreFunction... functions)
-
SumScoreFunction
public SumScoreFunction(@NonNull List<ComposableScoreFunction> functions, @NonNull List<Double> constants)
-
-
Method Detail
-
getFunctions
public List<ComposableScoreFunction> getFunctions()
-
-