public abstract class AbstractNInstallCmd extends NWorkspaceCmdBase<net.thevpc.nuts.NInstallCmd> implements net.thevpc.nuts.NInstallCmd
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNInstallCmd.ConditionalArguments |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected net.thevpc.nuts.NInstallStrategy |
companions |
protected List<AbstractNInstallCmd.ConditionalArguments> |
conditionalArguments |
protected boolean |
defaultVersion |
protected net.thevpc.nuts.NId[] |
failed |
protected Map<net.thevpc.nuts.NId,net.thevpc.nuts.NInstallStrategy> |
ids |
protected net.thevpc.nuts.NInstallStrategy |
installed |
protected net.thevpc.nuts.NDefinition[] |
result |
protected net.thevpc.nuts.NInstallStrategy |
strategy |
| Constructor and Description |
|---|
AbstractNInstallCmd(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NInstallCmd |
addArg(String arg) |
net.thevpc.nuts.NInstallCmd |
addArgs(Collection<String> args) |
net.thevpc.nuts.NInstallCmd |
addArgs(String... args) |
net.thevpc.nuts.NInstallCmd |
addConditionalArgs(Predicate<net.thevpc.nuts.NDefinition> definition,
String... args) |
net.thevpc.nuts.NInstallCmd |
addId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NInstallCmd |
addId(String id) |
net.thevpc.nuts.NInstallCmd |
addIds(net.thevpc.nuts.NId... ids) |
net.thevpc.nuts.NInstallCmd |
addIds(String... ids) |
net.thevpc.nuts.NInstallCmd |
clearArgs() |
net.thevpc.nuts.NInstallCmd |
clearIds() |
net.thevpc.nuts.NInstallCmd |
companions() |
net.thevpc.nuts.NInstallCmd |
companions(boolean value) |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.NInstallCmd |
defaultVersion() |
net.thevpc.nuts.NInstallCmd |
defaultVersion(boolean defaultVersion) |
List<String> |
getArgs() |
net.thevpc.nuts.NInstallStrategy |
getCompanions() |
Map<net.thevpc.nuts.NId,net.thevpc.nuts.NInstallStrategy> |
getIdMap() |
List<net.thevpc.nuts.NId> |
getIds() |
net.thevpc.nuts.NInstallStrategy |
getInstalled() |
net.thevpc.nuts.NInstallStrategy |
getStrategy() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
boolean |
isCompanions() |
boolean |
isDefaultVersion() |
boolean |
isInstalled() |
net.thevpc.nuts.NInstallCmd |
removeId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NInstallCmd |
removeId(String id) |
net.thevpc.nuts.NInstallCmd |
setCompanions(boolean value) |
net.thevpc.nuts.NInstallCmd |
setDefaultVersion(boolean defaultVersion) |
net.thevpc.nuts.NInstallCmd |
setId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NInstallCmd |
setId(String id) |
net.thevpc.nuts.NInstallCmd |
setIds(net.thevpc.nuts.NId... ids) |
net.thevpc.nuts.NInstallCmd |
setIds(String... ids) |
net.thevpc.nuts.NInstallCmd |
setInstalled(boolean value) |
net.thevpc.nuts.NInstallCmd |
setStrategy(net.thevpc.nuts.NInstallStrategy value) |
_LOG, _LOGOP, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultprotected boolean defaultVersion
protected net.thevpc.nuts.NInstallStrategy companions
protected net.thevpc.nuts.NInstallStrategy installed
protected net.thevpc.nuts.NInstallStrategy strategy
protected List<AbstractNInstallCmd.ConditionalArguments> conditionalArguments
protected final Map<net.thevpc.nuts.NId,net.thevpc.nuts.NInstallStrategy> ids
protected net.thevpc.nuts.NDefinition[] result
protected net.thevpc.nuts.NId[] failed
public AbstractNInstallCmd(net.thevpc.nuts.NWorkspace workspace)
public int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentgetSupportLevel in class NWorkspaceCmdBase<net.thevpc.nuts.NInstallCmd>public net.thevpc.nuts.NInstallCmd addId(String id)
addId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setId(net.thevpc.nuts.NId id)
setId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setId(String id)
setId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setIds(net.thevpc.nuts.NId... ids)
setIds in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setIds(String... ids)
setIds in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addId(net.thevpc.nuts.NId id)
addId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addIds(String... ids)
addIds in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addIds(net.thevpc.nuts.NId... ids)
addIds in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd removeId(net.thevpc.nuts.NId id)
removeId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd removeId(String id)
removeId in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd clearIds()
clearIds in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd clearArgs()
clearArgs in interface net.thevpc.nuts.NInstallCmdpublic List<String> getArgs()
getArgs in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addArg(String arg)
addArg in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addArgs(String... args)
addArgs in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addConditionalArgs(Predicate<net.thevpc.nuts.NDefinition> definition, String... args)
addConditionalArgs in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd addArgs(Collection<String> args)
addArgs in interface net.thevpc.nuts.NInstallCmdpublic List<net.thevpc.nuts.NId> getIds()
getIds in interface net.thevpc.nuts.NInstallCmdpublic Map<net.thevpc.nuts.NId,net.thevpc.nuts.NInstallStrategy> getIdMap()
getIdMap in interface net.thevpc.nuts.NInstallCmdpublic boolean isCompanions()
isCompanions in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setCompanions(boolean value)
setCompanions in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallStrategy getCompanions()
getCompanions in interface net.thevpc.nuts.NInstallCmdpublic boolean isInstalled()
isInstalled in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setInstalled(boolean value)
setInstalled in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallStrategy getInstalled()
getInstalled in interface net.thevpc.nuts.NInstallCmdpublic boolean isDefaultVersion()
isDefaultVersion in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setDefaultVersion(boolean defaultVersion)
setDefaultVersion in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd defaultVersion(boolean defaultVersion)
defaultVersion in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd defaultVersion()
defaultVersion in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd companions(boolean value)
companions in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd companions()
companions in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallCmd setStrategy(net.thevpc.nuts.NInstallStrategy value)
setStrategy in interface net.thevpc.nuts.NInstallCmdpublic net.thevpc.nuts.NInstallStrategy getStrategy()
getStrategy in interface net.thevpc.nuts.NInstallCmdpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<net.thevpc.nuts.NInstallCmd>Copyright © 2025 vpc open source initiative. All rights reserved.