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