Package com.mozilla.grouperfish.batch.transforms

Examples of com.mozilla.grouperfish.batch.transforms.Transform


        } catch (final Denied e) {
            throw Fail.hard(task, "Cannot create output directory.", e);
        }

        final TransformConfig config = task.transform();
        final Transform transform = transforms.get(config.transform());
        Assert.nonNull(transform);
        log.info(String.format("Launching transform '%s' with input directory '%s'", transform, inputDirectory));

        try {
            final TransformResult result = transform.run(task);
            if (result.success()) {
                log.info("Transform {} for task {} was run successfully.", transform, task);
            }
            else {
                final String message = String.format("Failed to run transform: %s (task %s)", transform, task);
View Full Code Here

TOP

Related Classes of com.mozilla.grouperfish.batch.transforms.Transform

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.