public class RemoteRemoveCommand extends GitCommand<RemoteConfig>
call() method to finally execute the command.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
repo| Modifier | Constructor and Description |
|---|---|
protected |
RemoteRemoveCommand(Repository repo)
Constructor for RemoteRemoveCommand.
|
| Modifier and Type | Method and Description |
|---|---|
RemoteConfig |
call() |
void |
setName(java.lang.String name)
The name of the remote to remove.
|
checkCallable, getRepository, setCallableprotected RemoteRemoveCommand(Repository repo)
Constructor for RemoteRemoveCommand.
repo - the Repositorypublic void setName(java.lang.String name)
name - a remote namepublic 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 java.util.concurrent.Callable<RemoteConfig>call in class GitCommand<RemoteConfig>GitAPIException