public static interface FileDescriptorSource.ProgressCallback
FileDescriptorSource.| Modifier and Type | Method and Description |
|---|---|
default void |
handleError(String fileName,
DescriptorParserException exception)
This is invoked when an error is encountered, possibly more thant once per file.
|
default void |
handleSuccess(String fileName)
This is invoked at most once per file, at the end of the parsing of a file, if it completed successfully.
|
default void handleError(String fileName, DescriptorParserException exception)
fileName - the name of the file that failedexception - the errordefault void handleSuccess(String fileName)
fileName - the name of the file that was parsed successfullyCopyright © 2021 JBoss, a division of Red Hat. All rights reserved.