Class ImportFileStatus
- java.lang.Object
-
- org.eclipse.core.runtime.Status
-
- org.eclipse.core.runtime.MultiStatus
-
- com._1c.g5.v8.dt.import_.xml.hierarchy.ImportFileStatus
-
- All Implemented Interfaces:
org.eclipse.core.runtime.IStatus
public class ImportFileStatus extends org.eclipse.core.runtime.MultiStatus
File import result statusContain file path of imported file
-
-
Constructor Summary
Constructors Constructor Description ImportFileStatus(int severity, String pluginId, int code, String message, Path path, Throwable exception)
Creates and returns a new file import status object with no children.ImportFileStatus(int severity, String pluginId, int code, String message, Path path, org.eclipse.core.runtime.IStatus[] children, Throwable exception)
Creates and returns a new file import status object with the given children.ImportFileStatus(int severity, String pluginId, int code, String message, Path path, org.eclipse.core.runtime.IStatus subStatus, Throwable exception)
Creates and returns a new file import status object with the given children.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Path
getFilePath()
Imported file path-
Methods inherited from class org.eclipse.core.runtime.MultiStatus
add, addAll, getChildren, isMultiStatus, merge, toString
-
-
-
-
Constructor Detail
-
ImportFileStatus
public ImportFileStatus(int severity, String pluginId, int code, String message, Path path, Throwable exception)
Creates and returns a new file import status object with no children.- Parameters:
severity
- the severity; one ofOK
,ERROR
,INFO
,WARNING
, orCANCEL
pluginId
- the unique identifier of the relevant plug-in, cannot benull
code
- the plug-in-specific status codemessage
- a human-readable message, localized to the current locale, cannot benull
path
- the imported file path, cannot benull
exception
- a low-level exception, ornull
if not applicable
-
ImportFileStatus
public ImportFileStatus(int severity, String pluginId, int code, String message, Path path, org.eclipse.core.runtime.IStatus[] children, Throwable exception)
Creates and returns a new file import status object with the given children.- Parameters:
severity
- the severity; one ofOK
,ERROR
,INFO
,WARNING
, orCANCEL
pluginId
- the unique identifier of the relevant plug-in, cannot benull
code
- the plug-in-specific status codemessage
- a human-readable message, localized to the current locale, cannot benull
path
- the imported file path, cannot benull
children
- the list of children status objects, cannot benull
exception
- a low-level exception, ornull
if not applicable
-
ImportFileStatus
public ImportFileStatus(int severity, String pluginId, int code, String message, Path path, org.eclipse.core.runtime.IStatus subStatus, Throwable exception)
Creates and returns a new file import status object with the given children.- Parameters:
severity
- the severity; one ofOK
,ERROR
,INFO
,WARNING
, orCANCEL
pluginId
- the unique identifier of the relevant plug-in, cannot benull
code
- the plug-in-specific status codemessage
- a human-readable message, localized to the current locale, cannot benull
path
- the imported file path, cannot benull
subStatus
- the status object to provide children statuses, cannot benull
children will be sets from subStatus children if subStatus is multi-status and has no message, in oherwise subStatus will be sets as single child.exception
- a low-level exception, ornull
if not applicable
-
-
Method Detail
-
getFilePath
public Path getFilePath()
Imported file path- Returns:
- the imported file path, never
null
-
-