com.togethersoft.sca.core.plugin.audit
Interface IAuditMessage

All Superinterfaces:
IMessage

public interface IAuditMessage
extends IMessage

Represents a message produced by an audit plug-in.


Fields inherited from interface com.togethersoft.sca.core.IMessage
DEBUG, ERROR, FATAL, INFO
 
Method Summary
 void addAutoFix(AutoFix fix)
          Associates an auto fix with this problem.
 boolean addSubMessage(IAuditMessage msg)
          Method addSubMessage.
 AutoFix[] getAutoFixes()
          Returns a list of fixes associated with this problem.
 java.lang.String getProblemSeverity()
          Returns the text description of the severity of the problem that caused this message.
 IAuditMessage[] getSubMessages()
          Method getSubMessages.
 
Methods inherited from interface com.togethersoft.sca.core.IMessage
getAnalyzer, getAstObject, getEndColumn, getEndLine, getExplainMessage, getExtension, getFileName, getMessage, getMessage, getProperty, getSeverity, getStartColumn, getStartLine, setProperty
 

Method Detail

addAutoFix

public void addAutoFix(AutoFix fix)
Associates an auto fix with this problem.

addSubMessage

public boolean addSubMessage(IAuditMessage msg)
Method addSubMessage.
Parameters:
msg - is a submessage
Returns:
boolean if submessage has been added

getAutoFixes

public AutoFix[] getAutoFixes()
Returns a list of fixes associated with this problem. Returns an empty array, if this problem has no auto fixes.

getProblemSeverity

public java.lang.String getProblemSeverity()
Returns the text description of the severity of the problem that caused this message.

getSubMessages

public IAuditMessage[] getSubMessages()
Method getSubMessages.
Returns:
AuditMessage[] array of sub messages