Package org.sonar.java
Class ProgressMonitor
java.lang.Object
org.sonar.java.ProgressMonitor
- All Implemented Interfaces:
Runnable
,org.eclipse.core.runtime.IProgressMonitor
-
Field Summary
Fields inherited from interface org.eclipse.core.runtime.IProgressMonitor
UNKNOWN
-
Constructor Summary
ConstructorsConstructorDescriptionProgressMonitor
(BooleanSupplier isCanceled, AnalysisProgress analysisProgress) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
done()
void
internalWorked
(double work) boolean
void
run()
void
setCanceled
(boolean value) void
setTaskName
(String name) void
void
worked
(int work) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.core.runtime.IProgressMonitor
clearBlocked, setBlocked, slice
-
Constructor Details
-
ProgressMonitor
-
-
Method Details
-
run
public void run() -
beginTask
- Specified by:
beginTask
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
done
public void done()- Specified by:
done
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
isCanceled
public boolean isCanceled()- Specified by:
isCanceled
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
setCanceled
public void setCanceled(boolean value) - Specified by:
setCanceled
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
worked
public void worked(int work) - Specified by:
worked
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
internalWorked
public void internalWorked(double work) - Specified by:
internalWorked
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
setTaskName
- Specified by:
setTaskName
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-
subTask
- Specified by:
subTask
in interfaceorg.eclipse.core.runtime.IProgressMonitor
-