|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput
public abstract class AbstractValidationOutput
A validation output is used to write messages while performing the validation process.
| Nested Class Summary | |
|---|---|
static class |
AbstractValidationOutput.ValidationMessage
Represents a verification message, which is simply described as a set of unstructured attributes. |
static class |
AbstractValidationOutput.ValidationMessageFactory
The validation factory class is used to generate validation messages. |
| Constructor Summary | |
|---|---|
AbstractValidationOutput()
|
|
| Method Summary | |
|---|---|
void |
close()
Closes any stream and performs any clean up necessary |
ResourceWrapper |
getAssociatedResource()
|
int |
getErrorCount()
|
void |
initialize(java.util.Map attributes)
Used to initialize this validation output |
void |
reportMessage(IValidationMessage validationMessage)
A message is reported with a set of attributes that determine how the message should be logged. |
void |
setAssociatedResource(ResourceWrapper resource)
|
abstract void |
writeMessageToSource(IValidationMessage validationMessage)
The final method invoked to write the validation message to the output source. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractValidationOutput()
| Method Detail |
|---|
public void initialize(java.util.Map attributes)
IValidationOutput
initialize in interface IValidationOutputattributes - Attributes describing the settingIValidationOutput.initialize(java.util.Map)public void reportMessage(IValidationMessage validationMessage)
IValidationOutput
reportMessage in interface IValidationOutputorg.eclipse.cosmos.rm.validation.internal.common.IValidationOutput#reportMessage(org.eclipse.cosmos.rm.validation.internal.common.AbstractValidationOutput.ValidationMessage)public abstract void writeMessageToSource(IValidationMessage validationMessage)
validationMessage - The validation messagepublic void close()
IValidationOutput
close in interface IValidationOutputIValidationOutput.close()public int getErrorCount()
public ResourceWrapper getAssociatedResource()
public void setAssociatedResource(ResourceWrapper resource)
|
COSMOS ${releaseVersion} resource-modeling Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||