public interface ScoringEngine
| Modifier and Type | Method and Description |
|---|---|
void |
applyRule(Resource scoreRule,
Resource subRule,
java.lang.String verb,
java.lang.String topic,
java.lang.String userId,
Resource ugcResource,
Resource componentResource)
Calcuate score based on engine's algorithm.
|
java.lang.String |
getScoringType()
Get this scoring engine type.
|
void |
unscoredData(java.lang.String ruleAction,
Resource ugcResource)
Process UGC for scoring even though no rule was defined.
|
void applyRule(@Nonnull
Resource scoreRule,
@Nonnull
Resource subRule,
@Nonnull
java.lang.String verb,
@Nullable
java.lang.String topic,
@Nonnull
java.lang.String userId,
@Nonnull
Resource ugcResource,
@Nonnull
Resource componentResource)
scoreRule - scoringRule resourcesubRule - The scoring sub rule resourceverb - The action verb from a SocialEventtopic - The topic from a SocialEventuserId - The user the score should apply tougcResource - The UGC resource used for the scoring calculationcomponentResource - The component where the rule is located@Nonnull java.lang.String getScoringType()
void unscoredData(@Nonnull
java.lang.String ruleAction,
@Nonnull
Resource ugcResource)
ruleAction - The event's action verbugcResource - The UGC resource used for the scoring calculationCopyright © 2010 - 2023 Adobe. All Rights Reserved