Package cdc.issues
Class IssuesCollector
java.lang.Object
cdc.issues.IssuesCollector
- All Implemented Interfaces:
IssuesCountingHandler,IssuesCountItem,IssuesHandler
A collector of issues that can transmit collected issues to a delegate.
- Author:
- Damien Carbonne
-
Field Summary
Fields inherited from interface cdc.issues.IssuesHandler
VOID -
Constructor Summary
ConstructorsConstructorDescriptionIssuesCollector(IssuesHandler delegate) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears collected issues.Deprecated, for removal: This API element is subject to removal in a future version.getIssues(IssueSeverity severity) Returns a list of issues having a severity.intvoidNotifies an issue.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface cdc.issues.IssuesHandler
issues, issues
-
Constructor Details
-
IssuesCollector
Deprecated, for removal: This API element is subject to removal in a future version. -
IssuesCollector
public IssuesCollector()
-
-
Method Details
-
getDelegate
Deprecated, for removal: This API element is subject to removal in a future version.- Returns:
- The delegate (possibly
null).
-
clear
public void clear()Clears collected issues. -
getIssues
- Returns:
- The list of collected issues.
-
getIssues
Returns a list of issues having a severity.- Parameters:
severity- The severity.- Returns:
- A list of issues that have a certain
severity.
-
issue
Description copied from interface:IssuesHandlerNotifies an issue.- Specified by:
issuein interfaceIssuesHandler- Parameters:
issue- The issue.
-
getNumberOfIssues
public int getNumberOfIssues()- Specified by:
getNumberOfIssuesin interfaceIssuesCountItem- Returns:
- The number of issues that are known by this item.
-
getIssuesHash
- Specified by:
getIssuesHashin interfaceIssuesCountItem- Returns:
- The hash of issues known by this item..
-