T - Typepublic abstract class NRepositoryCmdBase<T extends NRepositoryCmd> extends Object implements NRepositoryCmd
| Modifier and Type | Field and Description |
|---|---|
protected NRepository |
repo |
| Constructor and Description |
|---|
NRepositoryCmdBase(NRepository repo,
String commandName) |
| Modifier and Type | Method and Description |
|---|---|
T |
configure(boolean skipUnsupported,
String... args)
configure the current command with the given arguments.
|
boolean |
configureFirst(NCmdLine cmdLine) |
String |
getCommandName() |
NFetchMode |
getFetchMode() |
protected NRepository |
getRepo() |
protected void |
invalidateResult() |
abstract T |
run() |
T |
setFetchMode(NFetchMode fetchMode) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configure, configureLastprotected NRepository repo
public NRepositoryCmdBase(NRepository repo, String commandName)
public String getCommandName()
protected void invalidateResult()
public NFetchMode getFetchMode()
public T setFetchMode(NFetchMode fetchMode)
protected NRepository getRepo()
public T configure(boolean skipUnsupported, String... args)
NCmdLineConfigurable.configure(boolean, java.lang.String...)
to help return a more specific return type;configure in interface NCmdLineConfigurableconfigure in interface NRepositoryCmdargs - argument to configure withthis instancepublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic abstract T run()
run in interface NRepositoryCmdCopyright © 2025 vpc open source initiative. All rights reserved.