|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.actf.visualization.eval.EvaluationResultImpl
public class EvaluationResultImpl
Default implementation of IEvaluationResult
| Constructor Summary | |
|---|---|
EvaluationResultImpl()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EvaluationResultImpl()
| Method Detail |
|---|
public void setProblemList(List<IProblemItem> problemList)
IEvaluationResult
setProblemList in interface IEvaluationResultproblemList - target problem item listpublic void addProblemItems(Collection<IProblemItem> c)
IEvaluationResult
addProblemItems in interface IEvaluationResultc - target problem item collection to addpublic void addProblemItems(IProblemItem[] items)
IEvaluationResult
addProblemItems in interface IEvaluationResultitems - target problem item array to addpublic List<IProblemItem> getProblemList()
IEvaluationResult
getProblemList in interface IEvaluationResultpublic void setSummaryReportText(String summaryReportText)
IEvaluationResult
setSummaryReportText in interface IEvaluationResultsummaryReportText - summary of evaluationpublic String getSummaryReportText()
IEvaluationResult
getSummaryReportText in interface IEvaluationResultpublic String getSummaryReportUrl()
IEvaluationResult
getSummaryReportUrl in interface IEvaluationResultpublic void setSummaryReportUrl(String reportUrl)
IEvaluationResult
setSummaryReportUrl 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()
IEvaluationResult
getTargetUrl in interface IEvaluationResultpublic void setTargetUrl(String targetUrl)
IEvaluationResult
setTargetUrl in interface IEvaluationResulttargetUrl - URL of evaluation targetpublic File getSourceFile()
IEvaluationResult
getSourceFile in interface IEvaluationResultFilepublic void setSourceFile(File sourceFile)
IEvaluationResult
setSourceFile in interface IEvaluationResultsourceFile - target source Filepublic boolean isShowAllGuidelineItems()
IEvaluationResult
isShowAllGuidelineItems in interface IEvaluationResultpublic void setShowAllGuidelineItems(boolean b)
IEvaluationResult
setShowAllGuidelineItems 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)
IEvaluationResult
addAssociateFile in interface IEvaluationResulttarget - target File
public File[] getAssociateFiles()
IEvaluationResultFile
getAssociateFiles in interface IEvaluationResultFilepublic boolean removeAssociatedFile(File target)
IEvaluationResult
removeAssociatedFile in interface IEvaluationResulttarget - target File
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||