public class RemoteRemoveCommand extends GitCommand<RemoteConfig>
call() method to finally execute the command.repo| Modifier | Constructor and Description |
|---|---|
protected |
RemoteRemoveCommand(Repository repo) |
| Modifier and Type | Method and Description |
|---|---|
RemoteConfig |
call()
Executes the
remote command with all the options and parameters
collected by the setter methods of this class. |
void |
setName(String name)
The name of the remote to remove.
|
checkCallable, getRepository, setCallableprotected RemoteRemoveCommand(Repository repo)
repo - public void setName(String name)
name - a remote namepublic RemoteConfig call() throws GitAPIException
remote command with all the options and parameters
collected by the setter methods of this class.call in interface Callable<RemoteConfig>call in class GitCommand<RemoteConfig>RemoteConfig object of the removed remoteGitAPIException - or subclass thereof when an error occursCopyright © 2017 Eclipse JGit Project. All rights reserved.