Package jadx.gui.jobs

Interface IBackgroundTask

    • Method Detail

      • getTitle

        java.lang.String getTitle()
      • scheduleTasks

        jadx.api.utils.tasks.ITaskExecutor scheduleTasks()
      • onDone

        default void onDone​(ITaskInfo taskInfo)
        Called on executor thread after the all jobs finished.
      • onFinish

        default void onFinish​(ITaskInfo taskInfo)
        Executed on the Event Dispatch Thread after the all jobs finished.
      • canBeCanceled

        default boolean canBeCanceled()
      • timeLimit

        default int timeLimit()
        Global (for all jobs) time limit in milliseconds (0 - to disable).
      • checkMemoryUsage

        default boolean checkMemoryUsage()
        Executor will check memory usage on every tick and cancel job if no free memory available.
      • getTaskProgress

        @Nullable
        default @Nullable ITaskProgress getTaskProgress()
        Get task progress (Optional)
      • getProgressListener

        @Nullable
        default @Nullable java.util.function.Consumer<ITaskProgress> getProgressListener()
        Return progress notifications listener (use executor tick rate and thread) (Optional)