public class DefaultNutsWorkspaceCustomCommand extends Object implements net.thevpc.nuts.NutsWorkspaceCustomCommand
| Constructor and Description |
|---|
DefaultNutsWorkspaceCustomCommand(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
protected net.thevpc.nuts.NutsLogger |
_LOG(net.thevpc.nuts.NutsSession session) |
protected net.thevpc.nuts.NutsLoggerOp |
_LOGOP(net.thevpc.nuts.NutsSession session) |
void |
dryExec(String[] args,
net.thevpc.nuts.NutsCommandExecOptions options,
net.thevpc.nuts.NutsSession session) |
void |
exec(String[] args,
net.thevpc.nuts.NutsCommandExecOptions options,
net.thevpc.nuts.NutsSession session) |
String[] |
getCommand() |
String[] |
getExecutorOptions() |
String |
getFactoryId() |
String |
getHelpText(net.thevpc.nuts.NutsSession session) |
String |
getName() |
net.thevpc.nuts.NutsId |
getOwner() |
net.thevpc.nuts.NutsWorkspace |
getWorkspace() |
DefaultNutsWorkspaceCustomCommand |
setCommand(String[] command) |
DefaultNutsWorkspaceCustomCommand |
setExecutorOptions(String[] executorOptions) |
DefaultNutsWorkspaceCustomCommand |
setFactoryId(String factoryId) |
DefaultNutsWorkspaceCustomCommand |
setHelpCommand(String[] helpCommand) |
DefaultNutsWorkspaceCustomCommand |
setHelpText(String helpText) |
DefaultNutsWorkspaceCustomCommand |
setName(String name) |
DefaultNutsWorkspaceCustomCommand |
setOwner(net.thevpc.nuts.NutsId owner) |
void |
setWs(net.thevpc.nuts.NutsWorkspace ws) |
net.thevpc.nuts.NutsCommandConfig |
toCommandConfig() |
String |
toString() |
public DefaultNutsWorkspaceCustomCommand(net.thevpc.nuts.NutsWorkspace ws)
protected net.thevpc.nuts.NutsLoggerOp _LOGOP(net.thevpc.nuts.NutsSession session)
protected net.thevpc.nuts.NutsLogger _LOG(net.thevpc.nuts.NutsSession session)
public String getFactoryId()
getFactoryId in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic net.thevpc.nuts.NutsId getOwner()
getOwner in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic String getName()
getName in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic DefaultNutsWorkspaceCustomCommand setName(String name)
public void exec(String[] args, net.thevpc.nuts.NutsCommandExecOptions options, net.thevpc.nuts.NutsSession session)
exec in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic void dryExec(String[] args, net.thevpc.nuts.NutsCommandExecOptions options, net.thevpc.nuts.NutsSession session) throws net.thevpc.nuts.NutsExecutionException
dryExec in interface net.thevpc.nuts.NutsWorkspaceCustomCommandnet.thevpc.nuts.NutsExecutionExceptionpublic String getHelpText(net.thevpc.nuts.NutsSession session) throws net.thevpc.nuts.NutsExecutionException
getHelpText in interface net.thevpc.nuts.NutsWorkspaceCustomCommandnet.thevpc.nuts.NutsExecutionExceptionpublic String[] getCommand()
getCommand in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic DefaultNutsWorkspaceCustomCommand setCommand(String[] command)
public String[] getExecutorOptions()
getExecutorOptions in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic DefaultNutsWorkspaceCustomCommand setExecutorOptions(String[] executorOptions)
public net.thevpc.nuts.NutsCommandConfig toCommandConfig()
toCommandConfig in interface net.thevpc.nuts.NutsWorkspaceCustomCommandpublic DefaultNutsWorkspaceCustomCommand setOwner(net.thevpc.nuts.NutsId owner)
public DefaultNutsWorkspaceCustomCommand setFactoryId(String factoryId)
public DefaultNutsWorkspaceCustomCommand setHelpCommand(String[] helpCommand)
public DefaultNutsWorkspaceCustomCommand setHelpText(String helpText)
public net.thevpc.nuts.NutsWorkspace getWorkspace()
public void setWs(net.thevpc.nuts.NutsWorkspace ws)
Copyright © 2021 vpc open source initiative. All rights reserved.