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