Package com.aragost.javahg

Examples of com.aragost.javahg.MercurialExtension


     *         extensions
     */
    public List<String> process(Collection<Class<? extends MercurialExtension>> classes) {
        List<String> result = Lists.newArrayList();
        for (Class<? extends MercurialExtension> k : classes) {
            MercurialExtension ext;
            try {
                ext = this.extInstances.get(k);
            } catch (ExecutionException e) {
                throw Utils.asRuntime(e);
            }
            String path = ext.getPath();
            if (path == null) {
                path = "";
            }
            result.add("--config");
            result.add("extensions." + ext.getName() + "=" + path);
        }
        return result;
    }
View Full Code Here


     * @return
     */
    public List<String> process(Collection<Class<? extends MercurialExtension>> classes) {
        List<String> result = Lists.newArrayList();
        for (Class<? extends MercurialExtension> k : classes) {
            MercurialExtension ext;
            try {
                ext = this.extInstances.get(k);
            } catch (ExecutionException e) {
                throw Utils.asRuntime(e);
            }
            String path = ext.getPath();
            if (path == null) {
                path = "";
            }
            result.add("--config");
            result.add("extensions." + ext.getName() + "=" + path);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of com.aragost.javahg.MercurialExtension

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.