|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.eclipse.jdt.core.compiler.CompilationProgress
public abstract class CompilationProgress
A compilation progress is used by the BatchCompiler to report progress during compilation.
It is also used to request cancellation of the compilation.
Clients of the BatchCompiler should subclass this class, instantiate the subclass and pass this instance to
BatchCompiler.compile(String, java.io.PrintWriter, java.io.PrintWriter, CompilationProgress).
This class is intended to be instantiated and subclassed by clients.
| 构造方法摘要 | |
|---|---|
CompilationProgress()
|
|
| 方法摘要 | |
|---|---|
abstract void |
begin(int remainingWork)
Notifies that the compilation is beginning. |
abstract void |
done()
Notifies that the work is done; that is, either the compilation is completed or a cancellation was requested. |
abstract boolean |
isCanceled()
Returns whether cancellation of the compilation has been requested. |
abstract void |
setTaskName(String name)
Reports the name (or description) of the current task. |
abstract void |
worked(int workIncrement,
int remainingWork)
Notifies that a given amount of work of the compilation has been completed. |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public CompilationProgress()
| 方法详细信息 |
|---|
public abstract void begin(int remainingWork)
worked(int, int).
Clients should not call this method.
remainingWork - the estimated amount of remaining work.public abstract void done()
Clients should not call this method.
public abstract boolean isCanceled()
true if cancellation has been requested,
and false otherwisepublic abstract void setTaskName(String name)
Clients should not call this method.
name - the name (or description) of the current task
public abstract void worked(int workIncrement,
int remainingWork)
Clients should not call this method.
workIncrement - a non-negative amount of work just completedremainingWork - a non-negative amount of estimated remaining work
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||