public interface KieScanner
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
KieScanner.Status  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addListener(KieScannerEventListener listener)
Add an event listener. 
 | 
Collection<KieScannerEventListener> | 
getListeners()
Returns all event listeners. 
 | 
void | 
removeListener(KieScannerEventListener listener)
Remove an event listener. 
 | 
void | 
scanNow()
Triggers a synchronous scan 
 | 
void | 
shutdown()
Shuts down the scanner and releases any resources held. 
 | 
void | 
start(long pollingInterval)
Starts this KieScanner polling the maven repositories with the given interval expressed in milliseconds
 throws An IllegalStateException if this KieScanner has been already started 
 | 
void | 
stop()
Stops this KieScanner, but does not release the resources. 
 | 
void start(long pollingInterval)
void stop()
start(long) will
 resume the scanner's work after a call to stop()void shutdown()
void scanNow()
void addListener(KieScannerEventListener listener)
listener - The listener to add.void removeListener(KieScannerEventListener listener)
listener - The listener to remove.Collection<KieScannerEventListener> getListeners()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.