blob: d1ed783e31358236c9602581cd9eebe7373aa418 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
/*******************************************************************************
* Copyright (c) 2000, 2003 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.team.core;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.runtime.IStatus;
/**
* Defines the status codes used in the status of exceptions and errors relating to Team.
*/
public interface ITeamStatus extends IStatus {
/**
* An error occurred trying to obtain the <code>SyncInfo</code> for a single resource.
* The error will be cleared when the set is reset or when a sync info is added to
* the set for the resource for which the error occurred.
*/
public static final int RESOURCE_SYNC_INFO_ERROR = 1;
/**
* An error occurred that may effect several resources in a <code>SyncInfoSet</code>.
* The error will be cleared when the set is reset.
*/
public static final int SYNC_INFO_SET_ERROR = 2;
/**
* Return the resource associated with this status.
* @return Returns the resource.
*/
public IResource getResource();
}
|