Package org.jitterbit.integration.client.entity.search

Examples of org.jitterbit.integration.client.entity.search.ScriptReplaceStrategy


    }

    private SearchAndReplaceTarget createTarget() {
        ProjectItemOrder<Script> scripts = getScriptsToSearch();
        ExpressionTranslator translator = getExpressionTranslator();
        ScriptReplaceStrategy replaceStrategy = getReplaceStrategy(translator);
        return new ScriptSearchAndReplaceTarget(scripts, translator, replaceStrategy);
    }
View Full Code Here


        return new CachedPathsExpressionTranslator(pathLookup);
    }

    private ScriptReplaceStrategy getReplaceStrategy(ExpressionTranslator translator) {
        EntityPersistor persistor = view.getProjectPersistor();
        ScriptReplaceStrategy persistingStrategy = new PersistingScriptReplaceStrategy(persistor, translator);
        if (IN_PAGE_CHANGES_SUPPORTED) {
            ScriptReplaceStrategy openPageStrategy = new OpenPageReplaceStrategy();
            return new OrderedScriptReplaceStrategy(openPageStrategy, persistingStrategy);
        } else {
            return persistingStrategy;
        }
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.entity.search.ScriptReplaceStrategy

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.