public abstract class SubCommandWithExistingLocalRepo extends SubCommand
Modifier and Type | Field and Description |
---|---|
protected String |
local |
protected File |
localFile
File referencing a directory inside the repository (or its root). |
protected String |
localPathPrefix |
protected File |
localRoot
The root directory of the repository.
|
Constructor and Description |
---|
SubCommandWithExistingLocalRepo() |
Modifier and Type | Method and Description |
---|---|
protected void |
assertLocalRootNotNull() |
void |
prepare() |
getSubCommandDescription, getSubCommandName, isVisibleInHelp, prompt, promptPassword, run
protected String localPathPrefix
protected File localFile
File
referencing a directory inside the repository (or its root).public SubCommandWithExistingLocalRepo()
public void prepare() throws Exception
prepare
in class SubCommand
Exception
protected void assertLocalRootNotNull()
Copyright © 2013-2014. All Rights Reserved.