Class StatusReport
- java.lang.Object
-
- org.eclipse.emfforms.spi.common.report.AbstractReport
-
- org.eclipse.emf.ecp.view.spi.model.reporting.StatusReport
-
public class StatusReport extends AbstractReport
AStatus
that may be passed to the report service.- Since:
- 1.5
- Author:
- emueller
-
-
Constructor Summary
Constructors Constructor Description StatusReport(org.eclipse.core.runtime.Status status)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getException()
Returns the exception this report is based on, if any.java.lang.String
getMessage()
Returns the report message.int
getSeverity()
Returns the status of this report.boolean
hasException()
Whether this report is based upon an exception.-
Methods inherited from class org.eclipse.emfforms.spi.common.report.AbstractReport
setException, setMessage
-
-
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Returns the report message.- Overrides:
getMessage
in classAbstractReport
- Returns:
- the report message
- See Also:
AbstractReport.getMessage()
-
hasException
public boolean hasException()
Whether this report is based upon an exception.- Overrides:
hasException
in classAbstractReport
- Returns:
true
, if this report is based upon an exception,false
otherwise- See Also:
AbstractReport.hasException()
-
getException
public java.lang.Throwable getException()
Returns the exception this report is based on, if any.- Overrides:
getException
in classAbstractReport
- Returns:
- the exception this report is based on, if any, otherwise
null
- See Also:
AbstractReport.getException()
-
getSeverity
public int getSeverity()
Returns the status of this report.- Overrides:
getSeverity
in classAbstractReport
- Returns:
- the status of this report
- See Also:
AbstractReport.getSeverity()
-
-