public class TeamStatus extends Status implements ITeamStatus
CANCEL_STATUS, OK_STATUSRESOURCE_SYNC_INFO_ERROR, SYNC_INFO_SET_CANCELLATION, SYNC_INFO_SET_ERROR| Constructor and Description |
|---|
TeamStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception,
IResource resource)
Create a new status object.
|
| Modifier and Type | Method and Description |
|---|---|
IResource |
getResource()
Return the resource associated with this status.
|
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches, setCode, setException, setMessage, setPlugin, setSeverity, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matchespublic TeamStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception,
IResource resource)
severity - the severity; one of OK,
ERROR, INFO, or WARNINGpluginId - the unique identifier of the relevant plug-incode - the plug-in-specific status code, or OKmessage - a human-readable message, localized to the
current localeexception - a low-level exception, or null if not
applicableresource - the resource associated with the exceptionpublic IResource getResource()
getResource in interface ITeamStatusGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.