Interface IJavaModelStatusConstants
This interface declares constants only.
- See Also:
-
IJavaModelStatus
IStatus.getCode()
- Restriction:
- This interface is not intended to be implemented by clients.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Status constant indicating that a text edit can not be applied as there is a problem with the text edit location.static final int
Status constant indicating that the Java builder could not be initialized.static final int
Status constant indicating that the Java builder's last built state could not be serialized or deserialized.static final int
Status constant indicating that the attached javadoc content cannot be retrieved due to multiple reasons: invalid url, incorrect proxy, wrong authentication,...static final int
Status constant indicating that the attached javadoc content cannot be retrieved due to timeoutstatic final int
Status indicating that a project is involved in a build path cycle.static final int
Status constant indicating that a compiler failure occurred.static final int
Status constant indicating a core exception occurred.static final int
Status constant indicating that a container path was not resolvable indicating either the referred container is undefined, unbound.static final int
Status constant indicating that an external annotation path is invalid.static final int
Status constant indicating that a variable path was not resolvable indicating either the referred variable is undefined, unbound or the resolved variable path does not correspond to an existing file or folder.static final int
Status constant indicating that the variable is deprecated.static final int
Status constant indicating that a path specifying a device was supplied to the operation when a path with no device is required.static final int
Status constant indicating that an inclusion or an exclusion pattern got specified on a classpath source entry, though it was explicitely disabled according to its project preference settings.static final int
Status constant indicating that a specific output location got associated with a source entry, though it was explicitely disabled according to its project preference settings.static final int
Status constant indicating that aDOMException
occurred.static final int
Status constant indicating that one or more elements supplied do not exist.static final int
Status constant indicating that an element is not on its project's claspath.static final int
Status constant indicating that an error was encountered while trying to evaluate a code snippet, or other item.static final int
Status constant indicating that a project is prerequisiting some library for which the classfile JDK version level is more recent than the project JDK target level setting.static final int
Status constant indicating the given source position is out of bounds.static final int
Status constant indicating that a classpath entry was invalidstatic final int
Status indicating that a .classpath file is ill-formed, and thus cannot be read/written successfully.static final int
Status constant indicating that the specified contents are not valid.static final int
Status constant indicating that a container path was resolved to invalid entries (null or container).static final int
Status constant indicating that a destination provided for a copy/move/rename operation is invalid.static final int
Status constant indicating one or more of the elements supplied are not of a valid type for the operation to process.static final int
Status constant indicating that a name provided is not syntactically correct.static final int
Status indicating that the package declaration in aICompilationUnit
does not correspond to theIPackageFragment
it belongs to.static final int
Status constant indicating that a path provided to an operation is invalid.static final int
Status indicating that a Java element could not be created because the project owning underlying resource does not have the Java nature.static final int
Status indicating that a Java element could not be created because the underlying resource is invalid.static final int
Status indicating that a Java element could not be created because the underlying resource is not of an appropriate type.static final int
Status constant indicating that a sibling specified is not valid.static final int
Status constant indicating that anjava.io.IOException
occurred.static final int
Status constant indicating that the project has only main source folders but depends on a project that has only test source folders.static final int
Status constant indicating that a naming collision would occur if the operation proceeded.static final int
Status constant indicating that no elements were provided to the operation for processing.static final int
Status indicating that the corresponding resource has no local contents yet.static final int
Status constant indicating thatnull
was specified as a name argument.static final int
Status constant indicating that anull
path was supplied to the operation.static final int
Status constant indicating that a string was supplied to the operation that wasnull
.static final int
Status constant indicating that the default or specific output folder is overlapping with another source location.static final int
Status constant indicating that a path outside of the project was supplied to the operation.static final int
Status constant indicating that the operation encountered a read-only element.static final int
Status constant indicating that a relative path was supplied to the operation when an absolute path is required.static final int
Status constant indicating that aTargetException
occurred.static final int
Status constant indicating that the output folder of a source folder marked to contain test sources is not separate from the output folders of main sources.static final int
Status constant indicating that a source folder marked to contain test sources has no separate output location, but the project also contains main sources.static final int
Status constant indicating that the attached javadoc content format is unrecognized.static final int
Status constant indicating there is an update conflict for a working copy.
-
Field Details
-
INVALID_CP_CONTAINER_ENTRY
static final int INVALID_CP_CONTAINER_ENTRYStatus constant indicating that a container path was resolved to invalid entries (null or container).- Since:
- 2.0
- See Also:
-
CP_CONTAINER_PATH_UNBOUND
static final int CP_CONTAINER_PATH_UNBOUNDStatus constant indicating that a container path was not resolvable indicating either the referred container is undefined, unbound.- Since:
- 2.0
- See Also:
-
INVALID_CLASSPATH
static final int INVALID_CLASSPATHStatus constant indicating that a classpath entry was invalid- See Also:
-
CP_VARIABLE_PATH_UNBOUND
static final int CP_VARIABLE_PATH_UNBOUNDStatus constant indicating that a variable path was not resolvable indicating either the referred variable is undefined, unbound or the resolved variable path does not correspond to an existing file or folder.- See Also:
-
CORE_EXCEPTION
static final int CORE_EXCEPTIONStatus constant indicating a core exception occurred. UsegetException
to retrieve aCoreException
.- See Also:
-
INVALID_ELEMENT_TYPES
static final int INVALID_ELEMENT_TYPESStatus constant indicating one or more of the elements supplied are not of a valid type for the operation to process. The element(s) can be retrieved usinggetElements
on the status object.- See Also:
-
NO_ELEMENTS_TO_PROCESS
static final int NO_ELEMENTS_TO_PROCESSStatus constant indicating that no elements were provided to the operation for processing.- See Also:
-
ELEMENT_DOES_NOT_EXIST
static final int ELEMENT_DOES_NOT_EXISTStatus constant indicating that one or more elements supplied do not exist. The element(s) can be retrieved usinggetElements
on the status object. -
NULL_PATH
static final int NULL_PATHStatus constant indicating that anull
path was supplied to the operation.- See Also:
-
PATH_OUTSIDE_PROJECT
static final int PATH_OUTSIDE_PROJECTStatus constant indicating that a path outside of the project was supplied to the operation. The path can be retrieved usinggetPath
on the status object.- See Also:
-
RELATIVE_PATH
static final int RELATIVE_PATHStatus constant indicating that a relative path was supplied to the operation when an absolute path is required. The path can be retrieved usinggetPath
on the status object.- See Also:
-
DEVICE_PATH
static final int DEVICE_PATHStatus constant indicating that a path specifying a device was supplied to the operation when a path with no device is required. The path can be retrieved usinggetPath
on the status object.- See Also:
-
NULL_STRING
static final int NULL_STRINGStatus constant indicating that a string was supplied to the operation that wasnull
.- See Also:
-
READ_ONLY
static final int READ_ONLYStatus constant indicating that the operation encountered a read-only element. The element(s) can be retrieved usinggetElements
on the status object.- See Also:
-
NAME_COLLISION
static final int NAME_COLLISIONStatus constant indicating that a naming collision would occur if the operation proceeded.- See Also:
-
INVALID_DESTINATION
static final int INVALID_DESTINATIONStatus constant indicating that a destination provided for a copy/move/rename operation is invalid. The destination for a package fragment must be a package fragment root; the destination for a compilation unit must be a package fragment; the destination for a package declaration or import declaration must be a compilation unit; the destination for a type must be a type or compilation unit; the destination for any type member (other than a type) must be a type.
The destination element can be retrieved usinggetElements
on the status object.- See Also:
-
INVALID_PATH
static final int INVALID_PATHStatus constant indicating that a path provided to an operation is invalid. The path can be retrieved usinggetPath
on the status object.- See Also:
-
INDEX_OUT_OF_BOUNDS
static final int INDEX_OUT_OF_BOUNDSStatus constant indicating the given source position is out of bounds.- See Also:
-
UPDATE_CONFLICT
static final int UPDATE_CONFLICTStatus constant indicating there is an update conflict for a working copy. The compilation unit on which the working copy is based has changed since the working copy was created.- See Also:
-
NULL_NAME
static final int NULL_NAMEStatus constant indicating thatnull
was specified as a name argument.- See Also:
-
INVALID_NAME
static final int INVALID_NAMEStatus constant indicating that a name provided is not syntactically correct. The name can be retrieved fromgetString
.- See Also:
-
INVALID_CONTENTS
static final int INVALID_CONTENTSStatus constant indicating that the specified contents are not valid.- See Also:
-
IO_EXCEPTION
static final int IO_EXCEPTIONStatus constant indicating that anjava.io.IOException
occurred.- See Also:
-
DOM_EXCEPTION
static final int DOM_EXCEPTIONStatus constant indicating that aDOMException
occurred.- See Also:
-
TARGET_EXCEPTION
static final int TARGET_EXCEPTIONStatus constant indicating that aTargetException
occurred.- See Also:
-
BUILDER_INITIALIZATION_ERROR
static final int BUILDER_INITIALIZATION_ERRORStatus constant indicating that the Java builder could not be initialized.- See Also:
-
BUILDER_SERIALIZATION_ERROR
static final int BUILDER_SERIALIZATION_ERRORStatus constant indicating that the Java builder's last built state could not be serialized or deserialized.- See Also:
-
EVALUATION_ERROR
static final int EVALUATION_ERRORStatus constant indicating that an error was encountered while trying to evaluate a code snippet, or other item.- See Also:
-
INVALID_SIBLING
static final int INVALID_SIBLINGStatus constant indicating that a sibling specified is not valid.- See Also:
-
INVALID_RESOURCE
static final int INVALID_RESOURCEStatus indicating that a Java element could not be created because the underlying resource is invalid.- See Also:
-
INVALID_RESOURCE_TYPE
static final int INVALID_RESOURCE_TYPEStatus indicating that a Java element could not be created because the underlying resource is not of an appropriate type.- See Also:
-
INVALID_PROJECT
static final int INVALID_PROJECTStatus indicating that a Java element could not be created because the project owning underlying resource does not have the Java nature.- See Also:
-
INVALID_PACKAGE
static final int INVALID_PACKAGEStatus indicating that the package declaration in aICompilationUnit
does not correspond to theIPackageFragment
it belongs to. ThegetString
method of the associated status object gives the name of the package in which theICompilationUnit
is declared.- See Also:
-
NO_LOCAL_CONTENTS
static final int NO_LOCAL_CONTENTSStatus indicating that the corresponding resource has no local contents yet. This might happen when attempting to use a resource before its contents has been made locally available.- See Also:
-
INVALID_CLASSPATH_FILE_FORMAT
static final int INVALID_CLASSPATH_FILE_FORMATStatus indicating that a .classpath file is ill-formed, and thus cannot be read/written successfully.- Since:
- 2.1
- See Also:
-
CLASSPATH_CYCLE
static final int CLASSPATH_CYCLEStatus indicating that a project is involved in a build path cycle.- Since:
- 2.1
- See Also:
-
DISABLED_CP_EXCLUSION_PATTERNS
static final int DISABLED_CP_EXCLUSION_PATTERNSStatus constant indicating that an inclusion or an exclusion pattern got specified on a classpath source entry, though it was explicitely disabled according to its project preference settings.- Since:
- 2.1
- See Also:
-
DISABLED_CP_MULTIPLE_OUTPUT_LOCATIONS
static final int DISABLED_CP_MULTIPLE_OUTPUT_LOCATIONSStatus constant indicating that a specific output location got associated with a source entry, though it was explicitely disabled according to its project preference settings.- Since:
- 2.1
- See Also:
-
INCOMPATIBLE_JDK_LEVEL
static final int INCOMPATIBLE_JDK_LEVELStatus constant indicating that a project is prerequisiting some library for which the classfile JDK version level is more recent than the project JDK target level setting. This can indicate some binary incompatibility issues later on.- Since:
- 3.0
- See Also:
-
COMPILER_FAILURE
static final int COMPILER_FAILUREStatus constant indicating that a compiler failure occurred.- Since:
- 3.0
- See Also:
-
ELEMENT_NOT_ON_CLASSPATH
static final int ELEMENT_NOT_ON_CLASSPATHStatus constant indicating that an element is not on its project's claspath.- Since:
- 3.1
- See Also:
-
CANNOT_RETRIEVE_ATTACHED_JAVADOC
static final int CANNOT_RETRIEVE_ATTACHED_JAVADOCStatus constant indicating that the attached javadoc content cannot be retrieved due to multiple reasons: invalid url, incorrect proxy, wrong authentication,...
- Since:
- 3.2
- See Also:
-
UNKNOWN_JAVADOC_FORMAT
static final int UNKNOWN_JAVADOC_FORMATStatus constant indicating that the attached javadoc content format is unrecognized.
- Since:
- 3.2
- See Also:
-
DEPRECATED_VARIABLE
static final int DEPRECATED_VARIABLEStatus constant indicating that the variable is deprecated.
- Since:
- 3.3
- See Also:
-
BAD_TEXT_EDIT_LOCATION
static final int BAD_TEXT_EDIT_LOCATIONStatus constant indicating that a text edit can not be applied as there is a problem with the text edit location.
- Since:
- 3.4
- See Also:
-
CANNOT_RETRIEVE_ATTACHED_JAVADOC_TIMEOUT
static final int CANNOT_RETRIEVE_ATTACHED_JAVADOC_TIMEOUTStatus constant indicating that the attached javadoc content cannot be retrieved due to timeout
- Since:
- 3.7
- See Also:
-
OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE
static final int OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCEStatus constant indicating that the default or specific output folder is overlapping with another source location.
- Since:
- 3.6.4
- See Also:
-
CP_INVALID_EXTERNAL_ANNOTATION_PATH
static final int CP_INVALID_EXTERNAL_ANNOTATION_PATHStatus constant indicating that an external annotation path is invalid.
- Since:
- 3.12
- See Also:
-
TEST_SOURCE_REQUIRES_SEPARATE_OUTPUT_LOCATION
static final int TEST_SOURCE_REQUIRES_SEPARATE_OUTPUT_LOCATIONStatus constant indicating that a source folder marked to contain test sources has no separate output location, but the project also contains main sources. preference settings.- Since:
- 3.14
- See Also:
-
TEST_OUTPUT_FOLDER_MUST_BE_SEPARATE_FROM_MAIN_OUTPUT_FOLDERS
static final int TEST_OUTPUT_FOLDER_MUST_BE_SEPARATE_FROM_MAIN_OUTPUT_FOLDERSStatus constant indicating that the output folder of a source folder marked to contain test sources is not separate from the output folders of main sources.- Since:
- 3.14
- See Also:
-
MAIN_ONLY_PROJECT_DEPENDS_ON_TEST_ONLY_PROJECT
static final int MAIN_ONLY_PROJECT_DEPENDS_ON_TEST_ONLY_PROJECTStatus constant indicating that the project has only main source folders but depends on a project that has only test source folders.
- Since:
- 3.16
- See Also:
-