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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `isOK(java.lang.Object result)` This is the Supervisor callback function.

- - ### Method Detail

    - #### 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` - the result
      Returns:
        true, if is ok