public class AcceptRepoConnectionSubCommand extends SubCommandWithExistingLocalRepo
SubCommand implementation for requesting a connection at a remote repository.local, localFile, localPathPrefix, localRoot| Constructor and Description |
|---|
AcceptRepoConnectionSubCommand() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSubCommandDescription()
Get the description for this sub-command.
|
void |
prepare()
Invoked before
SubCommand.run(). |
void |
run() |
assertLocalRootNotNullcleanUp, getLocalServerRestClient, getSubCommandName, isVisibleInHelp, prompt, promptPasswordpublic AcceptRepoConnectionSubCommand()
public String getSubCommandDescription()
SubCommandgetSubCommandDescription in class SubCommandpublic void prepare() throws Exception
SubCommandSubCommand.run().
Implementors should always invoked the super-method when overriding!
prepare in class SubCommandWithExistingLocalRepoException - in case, the preparation failed.SubCommand.cleanUp()public void run() throws Exception
run in class SubCommandExceptionCopyright © 2013–2019. All rights reserved.