@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.IOException
public org.eclipse.jgit.api.Git get() throws java.io.IOException
get
in interface GitService
java.io.IOException
public java.lang.String getRemoteUrl()
getRemoteUrl
in interface GitService
public void notifyRemoteChanged(java.lang.String remoteUrl)
GitService
notifyRemoteChanged
in interface GitService
public void notifyReceivePacket()
notifyReceivePacket
in interface GitService
public void addGitListener(GitListener listener)
addGitListener
in interface GitService
public void removeGitListener(GitListener listener)
removeGitListener
in interface GitService
public void setGitForTesting(org.eclipse.jgit.api.Git git)
public void bindRuntimeProperties(RuntimeProperties service)
Copyright © 2016 Red Hat. All Rights Reserved.