T - Typepublic abstract class NWorkspaceCmdBase<T extends NWorkspaceCmd> extends Object implements NWorkspaceCmd
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
NWorkspaceCmdBase(String commandName) |
| Modifier and Type | Method and Description |
|---|---|
protected NLog |
_LOG() |
T |
configure(boolean skipUnsupported,
String... args)
configure the current command with the given arguments.
|
boolean |
configureFirst(NCmdLine cmdLine) |
protected T |
copyFromWorkspaceCommandBase(NWorkspaceCmdBase other) |
String |
getCommandName() |
int |
getScore(NScorableContext context) |
protected void |
invalidateResult() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunconfigure, configure, configureLastisValidScore, query, querypublic NWorkspaceCmdBase(String commandName)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorableprotected NLog _LOG()
public String getCommandName()
protected T copyFromWorkspaceCommandBase(NWorkspaceCmdBase other)
protected void invalidateResult()
public boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurablepublic 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 NWorkspaceCmdargs - argument to configure withthis instanceCopyright © 2025 vpc open source initiative. All rights reserved.