Override

abstract class Override

A score override.

Overriding classes should add ConfigPredicate fields to add user-configurable predicates. The intention is that since these are score overrides for specific elements, user should be able to configure these predicates in the configuration.

Overriding classes are suggested to also implement Predicate in this class to allow users to easily match objects with this override.

TODO: Add check ensuring that except for score and joinPolicy, all fields in this class are subclasses of ConfigPredicate.

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

The policy to join the predicates (if multiple predicates are specified).

Link copied to clipboard
abstract val score: Double

The overriding score.