public class RuleResult<T> extends Object
Modifier and Type | Field and Description |
---|---|
static RuleResult<Integer> |
EMPTY_INT_RESULT |
static RuleResult<?> |
EMPTY_RESULT |
Constructor and Description |
---|
RuleResult(double points,
String description) |
RuleResult(double points,
String description,
T additionalData) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
T |
getAdditionalData() |
String |
getDescription()
Returns a description of the result.
|
double |
getPoints()
Returns the points for the result from a rule
|
int |
hashCode() |
String |
toString() |
public static final RuleResult<?> EMPTY_RESULT
public static final RuleResult<Integer> EMPTY_INT_RESULT
public RuleResult(double points, String description)
public double getPoints()
public String getDescription()
public T getAdditionalData()
Copyright © 2004-2015. All Rights Reserved.