code: public PolicyInfo determinePolicy(Codec codec) {
      for (PolicyInfo info : configMgr.getAllPolicies()) {
        if (!info.getShouldRaid()) {
          continue;
        }
        
        if (info.getCodecId().equals(codec.id)) {
          return info;
        }
      }
      
      return null;
    }
docs: Determine a PolicyInfo from the codec, to re-generate the parity files
  of modified source files.
  
  @param codec
  @return