public class InspectorForDecisionPredicates extends java.lang.Object implements CheckedUserInput.CheckedUserInputInspector
Modifier and Type | Field and Description |
---|---|
private java.util.List<ApplicationCheck> |
additionalChecks |
private int |
cutMode |
private Node |
node |
private Services |
services |
NO_USER_INPUT
Constructor and Description |
---|
InspectorForDecisionPredicates(Services services,
Node node,
int cutMode,
java.util.List<ApplicationCheck> additionalChecks) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
check(java.lang.String toBeChecked) |
static Term |
translate(Services services,
java.lang.String toBeChecked) |
private final Services services
private final Node node
private final int cutMode
private final java.util.List<ApplicationCheck> additionalChecks
public InspectorForDecisionPredicates(Services services, Node node, int cutMode, java.util.List<ApplicationCheck> additionalChecks)
public java.lang.String check(java.lang.String toBeChecked)
check
in interface CheckedUserInput.CheckedUserInputInspector
toBeChecked
- the user input to be checked.null
if the user input is valid, otherwise a string describing the error.