@ThreadSafe @Service(value=GitService.class) public final class FabricGitServiceImpl extends AbstractComponent implements GitService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_GIT_PATH |
| Constructor and Description |
|---|
FabricGitServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
void |
addGitListener(GitListener listener) |
void |
bindRuntimeProperties(RuntimeProperties service) |
org.eclipse.jgit.api.Git |
get() |
java.lang.String |
getRemoteUrl() |
void |
notifyReceivePacket() |
void |
notifyRemoteChanged(java.lang.String remoteUrl)
A hook if the remote URI has been changed
|
void |
removeGitListener(GitListener listener) |
void |
setGitForTesting(org.eclipse.jgit.api.Git git) |
activateComponent, assertValid, deactivateComponent, isValid@Activate
public void activate()
throws java.io.IOException
java.io.IOExceptionpublic org.eclipse.jgit.api.Git get()
throws java.io.IOException
get in interface GitServicejava.io.IOExceptionpublic java.lang.String getRemoteUrl()
getRemoteUrl in interface GitServicepublic void notifyRemoteChanged(java.lang.String remoteUrl)
GitServicenotifyRemoteChanged in interface GitServicepublic void notifyReceivePacket()
notifyReceivePacket in interface GitServicepublic void addGitListener(GitListener listener)
addGitListener in interface GitServicepublic void removeGitListener(GitListener listener)
removeGitListener in interface GitServicepublic void setGitForTesting(org.eclipse.jgit.api.Git git)
public void bindRuntimeProperties(RuntimeProperties service)
Copyright © 2015 Red Hat. All Rights Reserved.