java.lang.Object
org.deidentifier.arx.gui.view.impl.common.async.Analysis

public abstract class Analysis extends Object
A generic interface for analyses that are performed asynchronously.
  • Konstruktordetails

    • Analysis

      public Analysis()
  • Methodendetails

    • getProgress

      public abstract int getProgress()
      May return a progress value in [0,100] or 0.
    • onError

      public abstract void onError()
      Perform error handling.
    • onFinish

      public abstract void onFinish()
      Perform finish.
    • onInterrupt

      public abstract void onInterrupt()
      Perform interrupt handling.
    • run

      public abstract void run() throws InterruptedException
      Implement the analysis here.
      Löst aus:
      InterruptedException
    • stop

      public abstract void stop()
      Called to stop the analysis.