Package org.jboss.windup.decompiler.api
Interface DecompilationListener
-
public interface DecompilationListenerCalled to indicate the progress during decompilation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voiddecompilationFailed(List<String> sourceClassPaths, String message)Called to indicate that decompilation of this particular files has failed for the specified reason.voiddecompilationProcessComplete()Indicates that the decompilation process is complete for all files within the archive (or directory).voidfileDecompiled(List<String> sourceClassPaths, String outputPath)Indicates that the files at inputPath has been decompiled to outputPathdefault voidfileDecompiled(List<String> sourceClassPaths, String outputPath, int[] lineMapping)Indicates that the files at inputPath has been decompiled to outputPathbooleanisCancelled()Indicates that the process has been cancelled and we should immediately halt processing.
-
-
-
Method Detail
-
fileDecompiled
void fileDecompiled(List<String> sourceClassPaths, String outputPath)
Indicates that the files at inputPath has been decompiled to outputPath
-
fileDecompiled
default void fileDecompiled(List<String> sourceClassPaths, String outputPath, int[] lineMapping)
Indicates that the files at inputPath has been decompiled to outputPath
-
decompilationFailed
void decompilationFailed(List<String> sourceClassPaths, String message)
Called to indicate that decompilation of this particular files has failed for the specified reason.
-
decompilationProcessComplete
void decompilationProcessComplete()
Indicates that the decompilation process is complete for all files within the archive (or directory).This allows for cleanup, such as committing all results to disk.
-
isCancelled
boolean isCancelled()
Indicates that the process has been cancelled and we should immediately halt processing.
-
-