Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.kie.api.builder
Interface KieScanner

    public interface KieScanner

A KieScanner is a scanner of the maven repositories (both local and remote) used to automatically discover if there are new releases for a given KieModule and its dependencies and eventually deploy them in the KieRepository

Method Summary
`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.

Method Detail

### start

    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

### stop

    void stop()

  Stops this KieScanner, but does not release the resources. A call to `start(long)` will resume the scanner's work after a call to `stop()`

### shutdown

    void shutdown()

  Shuts down the scanner and releases any resources held. After a shutdown call, any call to start() will fail with an exception.

### scanNow

    void scanNow()

  Triggers a synchronous scan

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| KIE API 6.2.0.Final
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.