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 static 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
modifyChangesetTags
public ValidateUploadHook()
public boolean checkUpload(APIDataSet apiDataSet)
checkUpload
in interface UploadHook
apiDataSet
- contains primitives to be uploadedprivate static 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.