|
org.eclipse.team.core
Class TeamStatus
java.lang.Object
org.eclipse.core.runtime.Status
org.eclipse.team.core.TeamStatus
-
All Implemented Interfaces:
-
IStatus,
ITeamStatus
-
public class TeamStatus
- extends
Status
- implements
ITeamStatus
Status that is returned from some Team operations or is the payload of
some TeamExceptions.
-
Since:
- 3.0
Methods inherited from class org.eclipse.core.runtime.
Status
|
getChildren,
getCode,
getException,
getMessage,
getPlugin,
getSeverity,
isMultiStatus,
isOK,
matches,
setCode,
setException,
setMessage,
setPlugin,
setSeverity,
toString
|
TeamStatus
public TeamStatus(int severity,
String pluginId,
int code,
String message,
Throwable exception,
IResource resource)
- Create a new status object.
-
Parameters:
-
severity - the severity; one of OK ,
ERROR , INFO , or WARNING
-
pluginId - the unique identifier of the relevant plug-in -
code - the plug-in-specific status code, or OK
-
message - a human-readable message, localized to the
current locale -
exception - a low-level exception, or null if not
applicable -
resource - the resource associated with the exception
getResource
public
IResource getResource()
- Return the resource associated with this status.
-
-
Specified by:
-
getResource
in interface
ITeamStatus
-
-
Returns:
- Returns the resource.
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.
|
|