public class EvaluationResultImpl extends Object implements IEvaluationResult
IEvaluationResult| Constructor and Description |
|---|
EvaluationResultImpl() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public void setProblemList(List<IProblemItem> problemList)
IEvaluationResultsetProblemList in interface IEvaluationResultproblemList - target problem item listpublic void addProblemItems(Collection<IProblemItem> c)
IEvaluationResultaddProblemItems in interface IEvaluationResultc - target problem item collection to addpublic void addProblemItems(IProblemItem[] items)
IEvaluationResultaddProblemItems in interface IEvaluationResultitems - target problem item array to addpublic List<IProblemItem> getProblemList()
IEvaluationResultgetProblemList in interface IEvaluationResultpublic void setSummaryReportText(String summaryReportText)
IEvaluationResultsetSummaryReportText in interface IEvaluationResultsummaryReportText - summary of evaluationpublic String getSummaryReportText()
IEvaluationResultgetSummaryReportText in interface IEvaluationResultpublic String getSummaryReportUrl()
IEvaluationResultgetSummaryReportUrl in interface IEvaluationResultpublic void setSummaryReportUrl(String reportUrl)
IEvaluationResultsetSummaryReportUrl in interface IEvaluationResultreportUrl - URL of summary reportpublic void accept(IProblemItemVisitor visitor)
IEvaluationResultIProblemItemVisitor. This method can be used to export
problem list, filter some problem items, etc.accept in interface IEvaluationResultvisitor - target IProblemItemVisitor to acceptpublic String getTargetUrl()
IEvaluationResultgetTargetUrl in interface IEvaluationResultpublic void setTargetUrl(String targetUrl)
IEvaluationResultsetTargetUrl in interface IEvaluationResulttargetUrl - URL of evaluation targetpublic File getSourceFile()
IEvaluationResultgetSourceFile in interface IEvaluationResultFilepublic void setSourceFile(File sourceFile)
IEvaluationResultsetSourceFile in interface IEvaluationResultsourceFile - target source Filepublic boolean isShowAllGuidelineItems()
IEvaluationResultisShowAllGuidelineItems in interface IEvaluationResultpublic void setShowAllGuidelineItems(boolean b)
IEvaluationResultsetShowAllGuidelineItems in interface IEvaluationResultb - true to show all guideline item in the result viewpublic org.eclipse.swt.custom.LineStyleListener getLineStyleListener()
IEvaluationResultLineStyleListener to be used to determine style of evaluation
summary.getLineStyleListener in interface IEvaluationResultLineStyleListenerpublic void setLineStyleListener(org.eclipse.swt.custom.LineStyleListener lsl)
IEvaluationResultLineStyleListener to be used to determine style of evaluation
summary.setLineStyleListener in interface IEvaluationResultlsl - target LineStyleListenerpublic boolean addAssociateFile(File target)
IEvaluationResultaddAssociateFile in interface IEvaluationResulttarget - target Filepublic File[] getAssociateFiles()
IEvaluationResultFilegetAssociateFiles in interface IEvaluationResultFilepublic boolean removeAssociatedFile(File target)
IEvaluationResultremoveAssociatedFile in interface IEvaluationResulttarget - target File