COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification

org.eclipse.cosmos.rm.validation.internal.common
Class MarkerOutput

java.lang.Object
  extended by org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput
      extended by org.eclipse.cosmos.rm.validation.internal.common.MarkerOutput
All Implemented Interfaces:
IValidationOutput

public class MarkerOutput
extends AbstractValidationOutput

A marker output is used in an Eclipse environment to report validation messages to the problem view


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput
AbstractValidationOutput.ValidationMessage, AbstractValidationOutput.ValidationMessageFactory
 
Field Summary
static java.lang.String SML_MARKER_ID
          The ID of the Service Modeling Language marker
 
Constructor Summary
MarkerOutput()
           
 
Method Summary
 void initialize(java.util.Map attributes)
          Used to initialize this validation output
 void writeMessageToSource(IValidationMessage validationMessage)
          The final method invoked to write the validation message to the output source.
 
Methods inherited from class org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput
close, getAssociatedResource, getErrorCount, reportMessage, setAssociatedResource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SML_MARKER_ID

public static final java.lang.String SML_MARKER_ID
The ID of the Service Modeling Language marker

See Also:
Constant Field Values
Constructor Detail

MarkerOutput

public MarkerOutput()
Method Detail

initialize

public void initialize(java.util.Map attributes)
Description copied from interface: IValidationOutput
Used to initialize this validation output

Specified by:
initialize in interface IValidationOutput
Overrides:
initialize in class AbstractValidationOutput
Parameters:
attributes - Attributes describing the setting
See Also:
AbstractValidationOutput.initialize(java.util.Map)

writeMessageToSource

public void writeMessageToSource(IValidationMessage validationMessage)
Description copied from class: AbstractValidationOutput
The final method invoked to write the validation message to the output source.

Specified by:
writeMessageToSource in class AbstractValidationOutput
Parameters:
validationMessage - The validation message
See Also:
org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput#reportMessage(org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput.ValidationMessage)

COSMOS ${releaseVersion} resource-modeling Project
Internal API Specification