public class ValidateUploadHook extends java.lang.Object implements UploadHook
This action iterates through all active tests and give them the data, so that each one can test it.
| Constructor and Description |
|---|
ValidateUploadHook() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkUpload(APIDataSet apiDataSet)
Validate the modified data before uploading
|
private boolean |
displayErrorScreen(java.util.List<TestError> errors)
Displays a screen where the actions that would be taken are displayed and
give the user the possibility to cancel the upload.
|
public ValidateUploadHook()
public boolean checkUpload(APIDataSet apiDataSet)
checkUpload in interface UploadHookapiDataSet - the data to uploadprivate boolean displayErrorScreen(java.util.List<TestError> errors)
errors - The errors displayed in the screentrue, if the upload should continue. false
if the user requested cancel.