com.ihr.xbrl.resolvers
Interface Supervisor
public interface Supervisor
A class implementing this interface is able to check if the result of a worker is OK or not.
- Author:
- Ignacio
|
Method Summary |
boolean |
isOK(java.lang.Object result)
This is the Supervisor callback function. |
isOK
boolean isOK(java.lang.Object result)
- This is the Supervisor callback function. A worker has finished its work, then the
supervisor checks if the work is satisfactory. for example, there is no a duplicate
in the database. If the result is satisfactory the callback function must return true
if the callback function returns false the ResolversPool continues with the next
worker for the same role.
- Parameters:
result -
- Returns:
Copyright 2006-2009 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa