com.norconex.jef.suite
Interface IJobSuiteStopRequestHandler

All Superinterfaces:
Serializable
All Known Implementing Classes:
FileStopRequestHandler

public interface IJobSuiteStopRequestHandler
extends Serializable

Implementations of this interface will listen for stop signals sent to a running suite. It is up to implementors to define the mechanism by which to stop a running suite.

Since:
2.0
Author:
Pascal Essiembre

Method Summary
 void startListening(ISuiteStopRequestListener listener)
          Starts to listen for stop requests.
 void stopListening()
          Stops listening for stop requests.
 

Method Detail

startListening

void startListening(ISuiteStopRequestListener listener)
Starts to listen for stop requests. Implementors must call the ISuiteStopRequestListener.stopRequestReceived() method when a stop request was received.

Parameters:
listener - framework listener for stop signals

stopListening

void stopListening()
Stops listening for stop requests.



Copyright © 2007-2013 Norconex Inc.. All Rights Reserved.