org.eclipse.xtend.util.stdlib
Class ExtIssueReporter

java.lang.Object
  extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
      extended by org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
          extended by org.eclipse.xtend.util.stdlib.ExtIssueReporter
All Implemented Interfaces:
org.eclipse.emf.mwe.core.WorkflowComponent, org.eclipse.emf.mwe.core.WorkflowComponentWithID, org.eclipse.emf.mwe2.runtime.workflow.IWorkflowComponent

public class ExtIssueReporter
extends org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2

Java helper class for Stdlib extension org::eclipse::xtend::util::stdlib::issues.


Constructor Summary
ExtIssueReporter()
           
 
Method Summary
protected  void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues arg0)
           
 java.lang.String getComponentName()
           
 java.lang.String getLogMessage()
           
protected  void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx, org.eclipse.emf.mwe.core.monitor.ProgressMonitor mon, org.eclipse.emf.mwe.core.issues.Issues issues)
           
static java.lang.String reportError(java.lang.String message)
          Reports an error.
static java.lang.String reportError(java.lang.String qfn, java.lang.String message)
          Reports an error.
static java.lang.String reportWarning(java.lang.String message)
          Reports a warning.
static java.lang.String reportWarning(java.lang.String qfn, java.lang.String message)
          Reports a warning.
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2
checkConfiguration
 
Methods inherited from class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
checkRequiredConfigProperty, getBridge, getContainer, getId, getLocation, invoke, invoke, postInvoke, preInvoke, setContainer, setId, setLocation, setSkipOnErrors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtIssueReporter

public ExtIssueReporter()
Method Detail

checkConfigurationInternal

protected void checkConfigurationInternal(org.eclipse.emf.mwe.core.issues.Issues arg0)
Overrides:
checkConfigurationInternal in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent2

invokeInternal

protected void invokeInternal(org.eclipse.emf.mwe.core.WorkflowContext ctx,
                              org.eclipse.emf.mwe.core.monitor.ProgressMonitor mon,
                              org.eclipse.emf.mwe.core.issues.Issues issues)
Specified by:
invokeInternal in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent

getLogMessage

public java.lang.String getLogMessage()
Specified by:
getLogMessage in interface org.eclipse.emf.mwe.core.WorkflowComponentWithID
Overrides:
getLogMessage in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
See Also:
AbstractWorkflowComponent.getLogMessage()

reportError

public static java.lang.String reportError(java.lang.String message)
Reports an error.

Parameters:
message - the error message
Returns:
the passed in error message

reportWarning

public static java.lang.String reportWarning(java.lang.String message)
Reports a warning.

Parameters:
message - the warning message
Returns:
the passed in warning message

reportError

public static java.lang.String reportError(java.lang.String qfn,
                                           java.lang.String message)
Reports an error.

Parameters:
qfn - a qualified filename
message - the error message
Returns:
the passed in error message

reportWarning

public static java.lang.String reportWarning(java.lang.String qfn,
                                             java.lang.String message)
Reports a warning.

Parameters:
qfn - a qualified filename
message - the warning message
Returns:
the passed in warning message

getComponentName

public java.lang.String getComponentName()
Specified by:
getComponentName in interface org.eclipse.emf.mwe.core.WorkflowComponent
Overrides:
getComponentName in class org.eclipse.emf.mwe.core.lib.AbstractWorkflowComponent
See Also:
AbstractWorkflowComponent.getComponentName()