|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEvaluationResult
Interface for evaluation result information
IACTFReport
Method Summary | |
---|---|
void |
accept(IProblemItemVisitor visitor)
Accept IProblemItemVisitor . |
boolean |
addAssociateFile(File target)
Add File to evaluation result for future use |
void |
addProblemItems(Collection<IProblemItem> c)
Add problem items into current list |
void |
addProblemItems(IProblemItem[] items)
Add problem items into current list |
File[] |
getAssociateFiles()
Get associated File |
org.eclipse.swt.custom.LineStyleListener |
getLineStyleListener()
Get LineStyleListener to be used to determine style of evaluation
summary. |
List<IProblemItem> |
getProblemList()
Get current problem item list |
File |
getSourceFile()
Get evaluation target (source) as File |
String |
getSummaryReportText()
Get summary text of evaluation |
String |
getSummaryReportUrl()
Get URL of summary report file |
String |
getTargetUrl()
Get URL of evaluation target |
boolean |
isShowAllGuidelineItems()
Check if non-selected guideline item will be shown in the result view |
boolean |
removeAssociatedFile(File target)
Remove File from evaluation result |
void |
setLineStyleListener(org.eclipse.swt.custom.LineStyleListener lsl)
Set LineStyleListener to be used to determine style of evaluation
summary. |
void |
setProblemList(List<IProblemItem> problemList)
Set detected problem item list |
void |
setShowAllGuidelineItems(boolean b)
Set flag to show non-selected guideline item in the result view |
void |
setSourceFile(File sourceFile)
Set evaluation target (source) as File |
void |
setSummaryReportText(String summaryReportText)
Set summary text of evaluation |
void |
setSummaryReportUrl(String reportUrl)
Set URL of summary report file |
void |
setTargetUrl(String targetUrl)
Set URL of evaluation target |
Method Detail |
---|
void setProblemList(List<IProblemItem> problemList)
problemList
- target problem item listvoid addProblemItems(Collection<IProblemItem> c)
c
- target problem item collection to addvoid addProblemItems(IProblemItem[] items)
items
- target problem item array to addList<IProblemItem> getProblemList()
void setSummaryReportText(String summaryReportText)
summaryReportText
- summary of evaluationString getSummaryReportText()
String getSummaryReportUrl()
void setSummaryReportUrl(String reportUrl)
reportUrl
- URL of summary reportvoid accept(IProblemItemVisitor visitor)
IProblemItemVisitor
. This method can be used to export
problem list, filter some problem items, etc.
visitor
- target IProblemItemVisitor
to acceptString getTargetUrl()
void setTargetUrl(String targetUrl)
targetUrl
- URL of evaluation targetFile getSourceFile()
File
void setSourceFile(File sourceFile)
sourceFile
- target source File
boolean isShowAllGuidelineItems()
void setShowAllGuidelineItems(boolean b)
b
- true to show all guideline item in the result viewvoid setLineStyleListener(org.eclipse.swt.custom.LineStyleListener lsl)
LineStyleListener
to be used to determine style of evaluation
summary.
lsl
- target LineStyleListener
org.eclipse.swt.custom.LineStyleListener getLineStyleListener()
LineStyleListener
to be used to determine style of evaluation
summary.
LineStyleListener
boolean addAssociateFile(File target)
target
- target File
boolean removeAssociatedFile(File target)
target
- target File
File[] getAssociateFiles()
File
File
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |