[
https://issues.jboss.org/browse/DROOLS-1141?page=com.atlassian.jira.plugi...
]
Marek Winkler commented on DROOLS-1141:
---------------------------------------
Something similar to the following(?):
{code}
public interface ScanEventListener {
void beforeScan();
void afterScan(AfterScanEvent event);
}
public interface AfterScanEvent {
List<ReleaseId> getUpdatedArtifacts();
// alternatively? Map<DependencyDescriptor, Artifact> getUpdatedArtifacts();
}
{code}
KieScanner: add support for listeners
-------------------------------------
Key: DROOLS-1141
URL:
https://issues.jboss.org/browse/DROOLS-1141
Project: Drools
Issue Type: Feature Request
Components: core engine
Affects Versions: 6.4.0.Final
Reporter: Marek Winkler
Assignee: Mario Fusco
For testing purposes, it could be handy to allow user to register listeners to
KieScanner. We were thinking about the following events:
- beforeScan
- afterScan
The afterScan method could receive an Event object as a parameter describing what was
actually updated during the scan (e.g., what artifacts to which versions?), probably a
{{ReleaseId}}?
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)