public class ValidateUploadHook extends 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(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 UploadHook
apiDataSet
- the data to uploadprivate boolean displayErrorScreen(List<TestError> errors)
errors
- The errors displayed in the screentrue
, if the upload should continue. false
if the user requested cancel.