public final class Result extends Object
| Constructor and Description |
|---|
Result() |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(String error) |
List<String> |
getErrors() |
org.json.JSONObject |
getResults() |
String |
getResultsAsString() |
boolean |
hasErrors() |
void |
setErrors(List<String> errors) |
void |
setResults(String results) |
void |
updateResults(org.graphwalker.core.machine.Machine machine,
Map<org.graphwalker.core.machine.Context,org.graphwalker.core.machine.MachineException> failures) |
public void addError(String error)
public boolean hasErrors()
public void setResults(String results)
public org.json.JSONObject getResults()
public String getResultsAsString()
public void updateResults(org.graphwalker.core.machine.Machine machine,
Map<org.graphwalker.core.machine.Context,org.graphwalker.core.machine.MachineException> failures)
Copyright © 2005–2019 GraphWalker. All rights reserved.