public class GerritServerIdProvider
extends java.lang.Object
implements com.google.inject.Provider<java.lang.String>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
KEY |
static java.lang.String |
SECTION |
Constructor and Description |
---|
GerritServerIdProvider(org.eclipse.jgit.lib.Config cfg,
SitePaths sitePaths) |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
generate() |
java.lang.String |
get() |
public static final java.lang.String SECTION
public static final java.lang.String KEY
@Inject public GerritServerIdProvider(org.eclipse.jgit.lib.Config cfg, SitePaths sitePaths) throws java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException