public abstract class AbstractValidationTask extends Object implements ValidationTask
Constructor and Description |
---|
AbstractValidationTask() |
Modifier and Type | Method and Description |
---|---|
List<org.apache.commons.cli.Option> |
getOptionList() |
ValidationTaskResult |
validate(Map<String,String> optionMap)
Runs the validation task.
|
protected abstract ValidationTaskResult |
validateImpl(Map<String,String> optionMap) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName
public List<org.apache.commons.cli.Option> getOptionList()
getOptionList
in interface ValidationTask
Option
required by this taskprotected abstract ValidationTaskResult validateImpl(Map<String,String> optionMap) throws InterruptedException
InterruptedException
public ValidationTaskResult validate(Map<String,String> optionMap) throws InterruptedException
ValidationTask
validate
in interface ValidationTask
optionMap
- contains string representation of <key, value> pairsInterruptedException
Copyright © 2023. All Rights Reserved.