public class TeamStatus extends Status implements ITeamStatus
CANCEL_STATUS, OK_STATUS
READ_ONLY_LOCAL, RESOURCE_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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
public TeamStatus(int severity, String pluginId, int code, String message, Throwable exception, IResource resource)
severity
- the severity; one of OK
,
ERROR
, INFO
, or WARNING
pluginId
- the unique identifier of the relevant plug-incode
- the plug-in-specific status code, or OK
message
- 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 ITeamStatus
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.