com.aragost.javahg
Class MercurialExtension
java.lang.Object
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
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MercurialExtension
public MercurialExtension()
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.