class InterchangesDelegator extends BaseDelegator implements IInterchangesDelegator {

    @Override
    public List<IChangelist> getInterchanges(final IFileSpec fromFile, final IFileSpec toFile,
            final GetInterchangesOptions opts) throws P4JavaException {
        List<IFileSpec> files = new ArrayList<>();
        files.add(fromFile);
        files.add(toFile);

        List<Map<String, Object>> resultMaps = execMapCmdList(INTERCHANGES,
                processParameters(opts, files, server), null);
        return processInterchangeMaps(resultMaps,
                InterchangesDelegatorHidden.isListIndividualFilesThatRequireIntegration(opts));
    }

    public  InterchangesDelegator(IOptionsServer server);

}