|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.model.xtend.util.XtendStatus
public class XtendStatus
Class to create a MultiStatus object from an Issues object that contains Xtend Errors, Warnings and Infos. Might still be IStatus.OK, if the Issues object is empty. Can be used to directly show issues in the Status Manager.
Field Summary |
---|
Fields inherited from interface org.eclipse.core.runtime.IStatus |
---|
CANCEL, ERROR, INFO, OK, WARNING |
Constructor Summary | |
---|---|
XtendStatus(org.eclipse.emf.mwe.core.issues.Issues issues,
String logMessage,
Map<EObject,AnyType> unknownFeatures,
Exception e)
Constructor taking an Xtend Issues which contains Errors, Infos, Warnings. |
Method Summary | |
---|---|
IStatus[] |
getChildren()
|
int |
getCode()
|
Throwable |
getException()
|
String |
getMessage()
|
String |
getPlugin()
|
int |
getSeverity()
|
Map<EObject,AnyType> |
getUnknownFeatures()
If the input file is an XMIResource, unknown features (not specified XML elements) get recorded and can be passed to this status. |
boolean |
isMultiStatus()
|
boolean |
isOK()
|
boolean |
matches(int severityMask)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XtendStatus(org.eclipse.emf.mwe.core.issues.Issues issues, String logMessage, Map<EObject,AnyType> unknownFeatures, Exception e)
issues
- the input diagnostic informationlogMessage
- the logMessage of the Xtend components. Might carry detailed
information about where an error occured, including a stack
trace of the Xtend file.unknownFeatures
- if the input file is an XMIResource, unknown features (not
specified XML elements) get recorded and can be passed to this
statuse
- an Exception occuring during transformation may be passed hereMethod Detail |
---|
public IStatus[] getChildren()
getChildren
in interface IStatus
public int getCode()
getCode
in interface IStatus
public Throwable getException()
getException
in interface IStatus
public String getMessage()
getMessage
in interface IStatus
public String getPlugin()
getPlugin
in interface IStatus
public int getSeverity()
getSeverity
in interface IStatus
public boolean isMultiStatus()
isMultiStatus
in interface IStatus
public boolean isOK()
isOK
in interface IStatus
public boolean matches(int severityMask)
matches
in interface IStatus
public Map<EObject,AnyType> getUnknownFeatures()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |