/** * Runs all {@link PreTransform} in the chain * * @param item * @param data */ public void pre(ImportTask item, ImportData data) throws Exception { for (PreTransform tx : filter(transforms, PreTransform.class)) { try { tx.apply(item, data); } catch (Exception e) { error(tx, e); } } }