public class KiePMMLTruePredicate extends KiePMMLPredicate
| Modifier and Type | Class and Description |
|---|---|
static class |
KiePMMLTruePredicate.Builder |
extensions, id, name, parentId| Constructor and Description |
|---|
KiePMMLTruePredicate(String name,
List<KiePMMLExtension> extensions) |
| Modifier and Type | Method and Description |
|---|---|
static KiePMMLTruePredicate.Builder |
builder(List<KiePMMLExtension> extensions)
Builder to auto-generate the id
|
boolean |
equals(Object o) |
boolean |
evaluate(Map<String,Object> values)
Returns the evaluation of the given
values if the current KiePMMLPredicate or one of its
child is referred to inside the given values, otherwise false |
String |
getName() |
int |
hashCode() |
String |
toString() |
getExtensions, getId, getParentId, setParentIdpublic KiePMMLTruePredicate(String name, List<KiePMMLExtension> extensions)
public static KiePMMLTruePredicate.Builder builder(List<KiePMMLExtension> extensions)
public String getName()
getName in class AbstractKiePMMLComponentpublic boolean evaluate(Map<String,Object> values)
KiePMMLPredicatevalues if the current KiePMMLPredicate or one of its
child is referred to inside the given values, otherwise falseevaluate in class KiePMMLPredicateCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.