Package org.eclipse.emf.mwe.core.issues
Class IssuesImpl
java.lang.Object
org.eclipse.emf.mwe.core.issues.IssuesImpl
- All Implemented Interfaces:
Issues
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(MWEDiagnostic issue) Adds aMWEDiagnostic
.void
Adds an error message.void
Adds an error message.void
addError
(WorkflowComponent ctx, String msg) Adds an error message.void
addError
(WorkflowComponent compnent, String msg, Object obj) Adds an error messagevoid
addError
(WorkflowComponent ctx, String msg, Object obj, String feature, Throwable t, List<Object> additionalData) Adds an error message.void
addError
(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Adds an error message.void
Adds a info message.void
Adds a info message.void
addInfo
(WorkflowComponent ctx, String msg) Adds a info message.void
addInfo
(WorkflowComponent compnent, String msg, Object obj) Adds an info messagevoid
addInfo
(WorkflowComponent ctx, String msg, Object element, String featureName, Throwable t, List<Object> additionalData) void
addInfo
(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Adds a info message.void
addWarning
(String msg) Adds a warn message.void
addWarning
(String msg, Object element) Adds a warn message.void
addWarning
(WorkflowComponent ctx, String msg) Adds a warn message.void
addWarning
(WorkflowComponent compnent, String msg, Object obj) Adds an warn messagevoid
addWarning
(WorkflowComponent ctx, String msg, Object element, String feature, Throwable t, List<Object> additionalData) void
addWarning
(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Adds a warn message.void
clear()
removes all warnings and errorsgetInfos()
boolean
boolean
hasInfos()
boolean
toString()
-
Constructor Details
-
IssuesImpl
public IssuesImpl()
-
-
Method Details
-
add
Description copied from interface:Issues
Adds aMWEDiagnostic
. OnlyMWEDiagnostic
with a severity ofDiagnostic.INFO
,Diagnostic.WARNING
andDiagnostic.ERROR
are allowed -
addError
public void addError(WorkflowComponent ctx, String msg, Object obj, String feature, Throwable t, List<Object> additionalData) Description copied from interface:Issues
Adds an error message. -
addError
public void addError(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Description copied from interface:Issues
Adds an error message. -
addError
Description copied from interface:Issues
Adds an error message. -
addError
Description copied from interface:Issues
Adds an error message. -
addError
Description copied from interface:Issues
Adds an error message. -
addError
Description copied from interface:Issues
Adds an error message -
hasErrors
public boolean hasErrors() -
getErrors
-
addWarning
Description copied from interface:Issues
Adds a warn message.- Specified by:
addWarning
in interfaceIssues
msg
- Message text.
-
addWarning
Description copied from interface:Issues
Adds a warn message.- Specified by:
addWarning
in interfaceIssues
- Parameters:
msg
- Message text.
-
addWarning
public void addWarning(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Description copied from interface:Issues
Adds a warn message.- Specified by:
addWarning
in interfaceIssues
msg
- Message text.
-
addWarning
public void addWarning(WorkflowComponent ctx, String msg, Object element, String feature, Throwable t, List<Object> additionalData) - Specified by:
addWarning
in interfaceIssues
-
addWarning
Description copied from interface:Issues
Adds a warn message.- Specified by:
addWarning
in interfaceIssues
- Parameters:
msg
- Message text.
-
addWarning
Description copied from interface:Issues
Adds an warn message- Specified by:
addWarning
in interfaceIssues
-
getWarnings
- Specified by:
getWarnings
in interfaceIssues
- Returns:
- all warning in this container
-
hasWarnings
public boolean hasWarnings()- Specified by:
hasWarnings
in interfaceIssues
- Returns:
- true if there are warnings
-
addInfo
Description copied from interface:Issues
Adds a info message. -
addInfo
Description copied from interface:Issues
Adds a info message. -
addInfo
public void addInfo(WorkflowComponent ctx, String msg, Object element, Throwable t, List<Object> additionalData) Description copied from interface:Issues
Adds a info message. -
addInfo
-
addInfo
Description copied from interface:Issues
Adds an info message -
addInfo
Description copied from interface:Issues
Adds a info message. -
getInfos
-
hasInfos
public boolean hasInfos() -
toString
-
clear
public void clear()Description copied from interface:Issues
removes all warnings and errors -
getIssues
- Specified by:
getIssues
in interfaceIssues
- Returns:
- all
MWEDiagnostic
s reported here
-