com.aragost.javahg.internals
Class ExtensionManager
java.lang.Object
com.aragost.javahg.internals.ExtensionManager
public class ExtensionManager
- extends Object
This is a singleton to manage Mercurial extensions.
To use a Mercurial extension with JavaHg there has to be an
implementation of MercurialExtension
. Call the process()
method with this class to enable an extension.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtensionManager
public ExtensionManager()
getInstance
public static ExtensionManager getInstance()
process
public List<String> process(Collection<Class<? extends MercurialExtension>> classes)
- Enable the Mercurial extension for the classes.
- Parameters:
classes
-
- Returns:
- list of command line flags needed to enable the
extensions
Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.