public class DefaultNCustomCommand extends Object implements net.thevpc.nuts.command.NCustomCmd
| Constructor and Description |
|---|
DefaultNCustomCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.log.NLog |
_LOG() |
List<String> |
command() |
int |
exec(String[] args,
net.thevpc.nuts.command.NCmdExecOptions options) |
List<String> |
executorOptions() |
String |
factoryId() |
net.thevpc.nuts.text.NText |
helpText() |
String |
name() |
net.thevpc.nuts.artifact.NId |
owner() |
DefaultNCustomCommand |
setCommand(List<String> command) |
DefaultNCustomCommand |
setCommand(String[] command) |
DefaultNCustomCommand |
setExecutorOptions(List<String> executorOptions) |
DefaultNCustomCommand |
setExecutorOptions(String[] executorOptions) |
DefaultNCustomCommand |
setFactoryId(String factoryId) |
DefaultNCustomCommand |
setHelpCommand(List<String> helpCommand) |
DefaultNCustomCommand |
setHelpText(String helpText) |
DefaultNCustomCommand |
setName(String name) |
DefaultNCustomCommand |
setOwner(net.thevpc.nuts.artifact.NId owner) |
net.thevpc.nuts.command.NCommandConfig |
toCommandConfig() |
String |
toString() |
protected net.thevpc.nuts.log.NLog _LOG()
public String factoryId()
factoryId in interface net.thevpc.nuts.command.NCustomCmdpublic net.thevpc.nuts.artifact.NId owner()
owner in interface net.thevpc.nuts.command.NCustomCmdpublic String name()
name in interface net.thevpc.nuts.command.NCustomCmdpublic DefaultNCustomCommand setName(String name)
public int exec(String[] args, net.thevpc.nuts.command.NCmdExecOptions options)
exec in interface net.thevpc.nuts.command.NCustomCmdpublic net.thevpc.nuts.text.NText helpText()
throws net.thevpc.nuts.command.NExecutionException
helpText in interface net.thevpc.nuts.command.NCustomCmdnet.thevpc.nuts.command.NExecutionExceptionpublic List<String> command()
command in interface net.thevpc.nuts.command.NCustomCmdpublic DefaultNCustomCommand setCommand(List<String> command)
public DefaultNCustomCommand setCommand(String[] command)
public List<String> executorOptions()
executorOptions in interface net.thevpc.nuts.command.NCustomCmdpublic DefaultNCustomCommand setExecutorOptions(List<String> executorOptions)
public DefaultNCustomCommand setExecutorOptions(String[] executorOptions)
public net.thevpc.nuts.command.NCommandConfig toCommandConfig()
toCommandConfig in interface net.thevpc.nuts.command.NCustomCmdpublic DefaultNCustomCommand setOwner(net.thevpc.nuts.artifact.NId owner)
public DefaultNCustomCommand setFactoryId(String factoryId)
public DefaultNCustomCommand setHelpCommand(List<String> helpCommand)
public DefaultNCustomCommand setHelpText(String helpText)
Copyright © 2026 vpc open source initiative. All rights reserved.