public interface FormatValidationPlugin
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAgent()
Returns the software agent key compatible with the application key in the application library.
|
default java.util.List<java.lang.String> |
getErrorIds()
Optional: the error IDs of the errors that occurred, if occurred,
during the validation.
|
java.util.List<java.lang.String> |
getErrors()
A list of errors that occurred, if occurred, during the validation.
|
default java.lang.String |
getProfile()
Optional: the validation profile used during the format validation.
|
default java.lang.String |
getValidationDetails()
Returns further details regarding the format validation when the isValidate
and isWellFormed are not sufficient to record the validation results.
|
boolean |
isValid()
A true/false indicator if the file's format is valid.
|
boolean |
isWellFormed()
A true/false indicator if the file is well formed.
|
boolean |
validateFormat(java.lang.String filepath)
Performs a format validation check on a file
|
boolean validateFormat(java.lang.String filepath)
filepath
- java.lang.String getAgent()
boolean isValid()
boolean isWellFormed()
java.util.List<java.lang.String> getErrors()
default java.util.List<java.lang.String> getErrorIds()
default java.lang.String getProfile()
default java.lang.String getValidationDetails()