com.aragost.javahg.internals
Class ExtensionManager

java.lang.Object
  extended by 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.


Constructor Summary
ExtensionManager()
           
 
Method Summary
static ExtensionManager getInstance()
           
 List<String> process(Collection<Class<? extends MercurialExtension>> classes)
          Enable the Mercurial extension for the classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExtensionManager

public ExtensionManager()
Method Detail

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.