Eclipse Platform
2.0

org.eclipse.core.resources
Interface IResourceStatus

All Superinterfaces:
IStatus

public interface IResourceStatus
extends IStatus

Represents status related to resources in the Resources plug-in and defines the relevant status code constants. Status objects created by the Resources plug-in bear its unique id (ResourcesPlugin.PI_RESOURCES and one of these status codes.

This interface is not intended to be implemented by clients.

See Also:
IStatus, ResourcesPlugin.PI_RESOURCES

Field Summary
static int BUILD_FAILED
          Status code constant (value 75) indicating that a builder failed.
static int CASE_VARIANT_EXISTS
          Status code constant (value 275) indicating this file system is not case sensitive and a resource that differs only in case unexpectedly exists on the local file system.
static int EXISTS_LOCAL
          Status code constant (value 268) indicating a resource unexpectedly exists on the local file system.
static int FAILED_DELETE_LOCAL
          Status code constant (value 273) indicating an error occurred while deleting a resource from a the local file system.
static int FAILED_DELETE_METADATA
          Status code constant (value 569) indicating the platform could not delete some of its metadata.
static int FAILED_READ_LOCAL
          Status code constant (value 271) indicating an error occurred while reading part of a resource from the local file system.
static int FAILED_READ_METADATA
          Status code constant (value 567) indicating the platform could not read some of its metadata.
static int FAILED_WRITE_LOCAL
          Status code constant (value 272) indicating an error occurred while writing part of a resource to a the local file system.
static int FAILED_WRITE_METADATA
          Status code constant (value 568) indicating the platform could not write some of its metadata.
static int INTERNAL_ERROR
          Status code constant (value 566) indicating an error internal to the platform has occurred.
static int INVALID_NATURE_SET
          Status code constant (value 32) indicating that a given nature set does not satisfy its constraints.
static int INVALID_VALUE
          Status code constant (value 77) indicating an invalid value.
static int MARKER_NOT_FOUND
          Status code constant (value 376) indicating a marker unexpectedly does not exist in the workspace tree.
static int MISSING_DESCRIPTION_REPAIRED
          Status code constant (value 234) indicating that a project description file (.project), was missing but it has been repaired.
static int NO_LOCATION_LOCAL
          Status code constant (value 270) indicating the local file system location for a resource could not be computed.
static int NOT_FOUND_LOCAL
          Status code constant (value 269) indicating a resource unexpectedly does not exist on the local file system.
static int OPERATION_FAILED
          Status code constant (value 76) indicating that an operation failed.
static int OUT_OF_SYNC_LOCAL
          Status code constant (value 274) indicating the workspace view of the resource differs from that of the local file system.
static int PARTNER_NOT_REGISTERED
          Status code constant (value 375) indicating that the sync partner is not registered with the workspace synchronizer.
static int PATH_OCCUPIED
          Status code constant (value 374) indicating that the path of a resource being created is occupied by an existing resource of a different type.
static int PROJECT_NOT_OPEN
          Status code constant (value 372) indicating a project is unexpectedly closed.
static int RESOURCE_EXISTS
          Status code constant (value 367) indicating a resource unexpectedly exists in the workspace.
static int RESOURCE_NOT_FOUND
          Status code constant (value 368) indicating a resource unexpectedly does not exist in the workspace.
static int RESOURCE_NOT_LOCAL
          Status code constant (value 369) indicating a resource unexpectedly does not have content local to the workspace.
static int RESOURCE_WRONG_TYPE
          Status code constant (value 366) indicating a resource exists in the workspace but is not of the expected type.
static int WORKSPACE_NOT_OPEN
          Status code constant (value 370) indicating a workspace is unexpectedly closed.
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
ERROR, INFO, OK, WARNING
 
Method Summary
 IPath getPath()
          Returns the path of the resource associated with this status.
 
Methods inherited from interface org.eclipse.core.runtime.IStatus
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
 

Field Detail

INVALID_NATURE_SET

public static final int INVALID_NATURE_SET
Status code constant (value 32) indicating that a given nature set does not satisfy its constraints. Severity: warning. Category: general.

See Also:
Constant Field Values

BUILD_FAILED

public static final int BUILD_FAILED
Status code constant (value 75) indicating that a builder failed. Severity: error. Category: general.

See Also:
Constant Field Values

OPERATION_FAILED

public static final int OPERATION_FAILED
Status code constant (value 76) indicating that an operation failed. Severity: error. Category: general.

See Also:
Constant Field Values

INVALID_VALUE

public static final int INVALID_VALUE
Status code constant (value 77) indicating an invalid value. Severity: error. Category: general.

See Also:
Constant Field Values

MISSING_DESCRIPTION_REPAIRED

public static final int MISSING_DESCRIPTION_REPAIRED
Status code constant (value 234) indicating that a project description file (.project), was missing but it has been repaired. Severity: warning. Category: local file system.

See Also:
Constant Field Values

EXISTS_LOCAL

public static final int EXISTS_LOCAL
Status code constant (value 268) indicating a resource unexpectedly exists on the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

NOT_FOUND_LOCAL

public static final int NOT_FOUND_LOCAL
Status code constant (value 269) indicating a resource unexpectedly does not exist on the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

NO_LOCATION_LOCAL

public static final int NO_LOCATION_LOCAL
Status code constant (value 270) indicating the local file system location for a resource could not be computed. Severity: error. Category: local file system.

See Also:
Constant Field Values

FAILED_READ_LOCAL

public static final int FAILED_READ_LOCAL
Status code constant (value 271) indicating an error occurred while reading part of a resource from the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

FAILED_WRITE_LOCAL

public static final int FAILED_WRITE_LOCAL
Status code constant (value 272) indicating an error occurred while writing part of a resource to a the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

FAILED_DELETE_LOCAL

public static final int FAILED_DELETE_LOCAL
Status code constant (value 273) indicating an error occurred while deleting a resource from a the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

OUT_OF_SYNC_LOCAL

public static final int OUT_OF_SYNC_LOCAL
Status code constant (value 274) indicating the workspace view of the resource differs from that of the local file system. The requested operation has been aborted to prevent the possible loss of data. Severity: error. Category: local file system.

See Also:
Constant Field Values

CASE_VARIANT_EXISTS

public static final int CASE_VARIANT_EXISTS
Status code constant (value 275) indicating this file system is not case sensitive and a resource that differs only in case unexpectedly exists on the local file system. Severity: error. Category: local file system.

See Also:
Constant Field Values

RESOURCE_WRONG_TYPE

public static final int RESOURCE_WRONG_TYPE
Status code constant (value 366) indicating a resource exists in the workspace but is not of the expected type. Severity: error. Category: workspace.

See Also:
Constant Field Values

RESOURCE_EXISTS

public static final int RESOURCE_EXISTS
Status code constant (value 367) indicating a resource unexpectedly exists in the workspace. Severity: error. Category: workspace.

See Also:
Constant Field Values

RESOURCE_NOT_FOUND

public static final int RESOURCE_NOT_FOUND
Status code constant (value 368) indicating a resource unexpectedly does not exist in the workspace. Severity: error. Category: workspace.

See Also:
Constant Field Values

RESOURCE_NOT_LOCAL

public static final int RESOURCE_NOT_LOCAL
Status code constant (value 369) indicating a resource unexpectedly does not have content local to the workspace. Severity: error. Category: workspace.

See Also:
Constant Field Values

WORKSPACE_NOT_OPEN

public static final int WORKSPACE_NOT_OPEN
Status code constant (value 370) indicating a workspace is unexpectedly closed. Severity: error. Category: workspace.

See Also:
Constant Field Values

PROJECT_NOT_OPEN

public static final int PROJECT_NOT_OPEN
Status code constant (value 372) indicating a project is unexpectedly closed. Severity: error. Category: workspace.

See Also:
Constant Field Values

PATH_OCCUPIED

public static final int PATH_OCCUPIED
Status code constant (value 374) indicating that the path of a resource being created is occupied by an existing resource of a different type. Severity: error. Category: workspace.

See Also:
Constant Field Values

PARTNER_NOT_REGISTERED

public static final int PARTNER_NOT_REGISTERED
Status code constant (value 375) indicating that the sync partner is not registered with the workspace synchronizer. Severity: error. Category: workspace.

See Also:
Constant Field Values

MARKER_NOT_FOUND

public static final int MARKER_NOT_FOUND
Status code constant (value 376) indicating a marker unexpectedly does not exist in the workspace tree. Severity: error. Category: workspace.

See Also:
Constant Field Values

INTERNAL_ERROR

public static final int INTERNAL_ERROR
Status code constant (value 566) indicating an error internal to the platform has occurred. Severity: error. Category: internal.

See Also:
Constant Field Values

FAILED_READ_METADATA

public static final int FAILED_READ_METADATA
Status code constant (value 567) indicating the platform could not read some of its metadata. Severity: error. Category: internal.

See Also:
Constant Field Values

FAILED_WRITE_METADATA

public static final int FAILED_WRITE_METADATA
Status code constant (value 568) indicating the platform could not write some of its metadata. Severity: error. Category: internal.

See Also:
Constant Field Values

FAILED_DELETE_METADATA

public static final int FAILED_DELETE_METADATA
Status code constant (value 569) indicating the platform could not delete some of its metadata. Severity: error. Category: internal.

See Also:
Constant Field Values
Method Detail

getPath

public IPath getPath()
Returns the path of the resource associated with this status.

Returns:
the path of the resource related to this status

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.