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