KIE API 6.0.0.CR2

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 start(long pollingInterval)
          Starts this KieScanner polling the maven repositories with the given interval expressed in milliseconds
 void stop()
          Stops this KieScanner
 

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


scanNow

void scanNow()
Triggers a synchronous scan


KIE API 6.0.0.CR2

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