mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-01 21:35:40 +02:00
JavaDoc enhancement
This commit is contained in:
parent
b2657f30a6
commit
38631986c6
1 changed files with 6 additions and 5 deletions
|
@ -253,11 +253,12 @@ public class RequestMonitor extends DsfExecutable {
|
||||||
return "RequestMonitor (" + super.toString() + "): " + getStatus().toString(); //$NON-NLS-1$ //$NON-NLS-2$
|
return "RequestMonitor (" + super.toString() + "): " + getStatus().toString(); //$NON-NLS-1$ //$NON-NLS-2$
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Checks whether the given request monitor completed with success or
|
* Checks whether the given request monitor completed with success or
|
||||||
* failure result. If the request monitor was canceled it is considered
|
* failure result. If the request monitor was canceled it is considered a
|
||||||
* that it failed, regardless of the status.
|
* failure, regardless of the status. If the status has a severity higher
|
||||||
*/
|
* than INFO (i.e., WARNING, ERROR or CANCEL), it is considered a failure.
|
||||||
|
*/
|
||||||
public boolean isSuccess() {
|
public boolean isSuccess() {
|
||||||
return !isCanceled() && getStatus().getSeverity() <= IStatus.INFO;
|
return !isCanceled() && getStatus().getSeverity() <= IStatus.INFO;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue