org.eclipse.core.internal.resources
Class ResourceStatus

java.lang.Object
  extended by org.eclipse.core.runtime.Status
      extended by org.eclipse.core.internal.resources.ResourceStatus
All Implemented Interfaces:
IResourceStatus, org.eclipse.core.runtime.IStatus

public class ResourceStatus
extends org.eclipse.core.runtime.Status
implements IResourceStatus


Field Summary
 
Fields inherited from class org.eclipse.core.runtime.Status
CANCEL_STATUS, OK_STATUS
 
Fields inherited from interface org.eclipse.core.resources.IResourceStatus
BUILD_FAILED, CASE_VARIANT_EXISTS, EXISTS_LOCAL, FAILED_DELETE_LOCAL, FAILED_DELETE_METADATA, FAILED_DESCRIBING_CONTENTS, FAILED_GETTING_CHARSET, FAILED_READ_LOCAL, FAILED_READ_METADATA, FAILED_SETTING_CHARSET, FAILED_WRITE_LOCAL, FAILED_WRITE_METADATA, INTERNAL_ERROR, INVALID_NATURE_SET, INVALID_RESOURCE_NAME, INVALID_VALUE, LINKING_NOT_ALLOWED, MARKER_NOT_FOUND, MISSING_DESCRIPTION_REPAIRED, NO_LOCATION_LOCAL, NOT_FOUND_LOCAL, OPERATION_FAILED, OUT_OF_SYNC_LOCAL, OVERLAPPING_LOCATION, PARENT_READ_ONLY, PARTNER_NOT_REGISTERED, PATH_OCCUPIED, PROJECT_NOT_OPEN, READ_ONLY_LOCAL, RESOURCE_EXISTS, RESOURCE_NOT_FOUND, RESOURCE_NOT_LINKED, RESOURCE_NOT_LOCAL, RESOURCE_WRONG_TYPE, VARIABLE_NOT_DEFINED, VARIABLE_NOT_DEFINED_WARNING, WORKSPACE_LOCKED, WORKSPACE_NOT_OPEN, WRONG_TYPE_LOCAL
 
Fields inherited from interface org.eclipse.core.runtime.IStatus
CANCEL, ERROR, INFO, OK, WARNING
 
Constructor Summary
ResourceStatus(int type, int code, org.eclipse.core.runtime.IPath path, java.lang.String message, java.lang.Throwable exception)
           
ResourceStatus(int code, org.eclipse.core.runtime.IPath path, java.lang.String message)
           
ResourceStatus(int code, org.eclipse.core.runtime.IPath path, java.lang.String message, java.lang.Throwable exception)
           
ResourceStatus(int code, java.lang.String message)
           
 
Method Summary
 org.eclipse.core.runtime.IPath getPath()
          Returns the path of the resource associated with this status.
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.core.runtime.Status
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IStatus
getChildren, getCode, getException, getMessage, getPlugin, getSeverity, isMultiStatus, isOK, matches
 

Constructor Detail

ResourceStatus

public ResourceStatus(int type,
                      int code,
                      org.eclipse.core.runtime.IPath path,
                      java.lang.String message,
                      java.lang.Throwable exception)

ResourceStatus

public ResourceStatus(int code,
                      java.lang.String message)

ResourceStatus

public ResourceStatus(int code,
                      org.eclipse.core.runtime.IPath path,
                      java.lang.String message)

ResourceStatus

public ResourceStatus(int code,
                      org.eclipse.core.runtime.IPath path,
                      java.lang.String message,
                      java.lang.Throwable exception)
Method Detail

getPath

public org.eclipse.core.runtime.IPath getPath()
Description copied from interface: IResourceStatus
Returns the path of the resource associated with this status.

Specified by:
getPath in interface IResourceStatus
Returns:
the path of the resource related to this status
See Also:
IResourceStatus.getPath()

toString

public java.lang.String toString()
Overrides:
toString in class org.eclipse.core.runtime.Status