public class RemoteRemoveCommand extends GitCommand<RemoteConfig>
call()
method to finally execute the command.repo
Modifier | Constructor and Description |
---|---|
protected |
RemoteRemoveCommand(Repository repo)
Constructor for RemoteRemoveCommand.
|
Modifier and Type | Method and Description |
---|---|
RemoteConfig |
call() |
void |
setName(String name)
Deprecated.
use
setRemoteName(java.lang.String) instead |
RemoteRemoveCommand |
setRemoteName(String remoteName)
The name of the remote to remove.
|
checkCallable, getRepository, setCallable
protected RemoteRemoveCommand(Repository repo)
Constructor for RemoteRemoveCommand.
repo
- the Repository
@Deprecated public void setName(String name)
setRemoteName(java.lang.String)
insteadname
- a remote namepublic RemoteRemoveCommand setRemoteName(String remoteName)
remoteName
- a remote namethis
public RemoteConfig call() throws GitAPIException
Execute the command
Executes the 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>
GitAPIException
Copyright © 2019 Eclipse JGit Project. All rights reserved.