com.aragost.javahg
Class MercurialExtension

java.lang.Object
  extended by com.aragost.javahg.MercurialExtension
Direct Known Subclasses:
JavaHgMercurialExtension

public abstract class MercurialExtension
extends Object

To implement Mercurial commands for an extension create a subclass of this class.

Clients that would like to use the extension must add it to RepositoryConfiguration.


Constructor Summary
MercurialExtension()
           
 
Method Summary
abstract  String getName()
           
 String getPath()
           
 void initialize()
          The initialize method is called once for each extension
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MercurialExtension

public MercurialExtension()
Method Detail

initialize

public void initialize()
                throws Exception
The initialize method is called once for each extension

Throws:
Exception

getName

public abstract String getName()
Returns:
the name of the extension

getPath

public String getPath()
Returns:
the path where the extension can be found. Return null if the extension is bundled with Mercurial


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.