Class ProgressMonitor

    • Constructor Detail

      • ProgressMonitor

        public ProgressMonitor()
    • Method Detail

      • getPhaseCount

        public int getPhaseCount()

        getPhaseCount

        Returns:
        a int.
      • setPhaseCount

        public void setPhaseCount​(int phaseCount)

        setPhaseCount

        Parameters:
        phaseCount - a int.
      • getPhaseLabel

        public String getPhaseLabel()

        getPhaseLabel

        Returns:
        a String object.
      • getPhase

        public int getPhase()

        getPhase

        Returns:
        a int.
      • beginNextPhase

        public void beginNextPhase​(String phaseLabel)

        beginNextPhase

        Parameters:
        phaseLabel - a String object.
      • finished

        public void finished​(Object result)

        finished

        Parameters:
        result - a Object object.
      • isFinished

        public boolean isFinished()

        isFinished

        Returns:
        a boolean.
      • getResult

        public Object getResult()

        getResult

        Returns:
        a Object object.
      • isError

        public boolean isError()

        isError

        Returns:
        a boolean.
      • getThrowable

        public Throwable getThrowable()

        getThrowable

        Returns:
        a Throwable object.
      • errorOccurred

        public void errorOccurred​(Throwable t)

        errorOccurred

        Parameters:
        t - a Throwable object.