public class ExpressionEvaluatorResult extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addFieldItemStepToPath(String fieldName) |
void |
addListItemStepToPath(int elementNumber) |
void |
addMapItemStepToPath(String key) |
List<String> |
getPathToWrongValue() |
String |
getWrongValue() |
boolean |
isSuccessful() |
static ExpressionEvaluatorResult |
of(boolean successful) |
static ExpressionEvaluatorResult |
ofFailed() |
static ExpressionEvaluatorResult |
ofFailed(String wrongValue,
String wrongValueField) |
static ExpressionEvaluatorResult |
ofSuccessful() |
void |
setWrongValue(String wrongValue) |
public static ExpressionEvaluatorResult of(boolean successful)
public static ExpressionEvaluatorResult ofSuccessful()
public static ExpressionEvaluatorResult ofFailed()
public static ExpressionEvaluatorResult ofFailed(String wrongValue, String wrongValueField)
public boolean isSuccessful()
public void addFieldItemStepToPath(String fieldName)
public void addListItemStepToPath(int elementNumber)
public void addMapItemStepToPath(String key)
public void setWrongValue(String wrongValue)
public String getWrongValue()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.