public class SyncSubCommand extends SubCommandWithExistingLocalRepo
local, localFile, localPathPrefix, localRoot| Constructor and Description |
|---|
SyncSubCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
assertLocalRootNotNull() |
String |
getSubCommandDescription()
Get the description for this sub-command.
|
void |
prepare()
Invoked before
SubCommand.run(). |
void |
run() |
cleanUp, getLocalServerRestClient, getSubCommandName, isVisibleInHelp, prompt, promptPasswordpublic SyncSubCommand()
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()protected void assertLocalRootNotNull()
assertLocalRootNotNull in class SubCommandWithExistingLocalRepopublic void run() throws Exception
run in class SubCommandExceptionCopyright © 2013–2019. All rights reserved.