public abstract class Constraint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Constraint.ConstraintType
Defines the enumeration of available Constraints.
|
| Modifier | Constructor and Description |
|---|---|
protected |
Constraint(Constraint.ConstraintType type) |
protected Constraint(Constraint.ConstraintType type)
public final Constraint.ConstraintType getType()
public final Double getBoost()
null if not setpublic final void setBoost(Double boost)
boost - the boost or null to unset the boostIllegalArgumentException - it the boost is lower than zeroCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.