public abstract class AbstractNutsInstallCommand extends NutsWorkspaceCommandBase<NutsInstallCommand> implements NutsInstallCommand
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractNutsInstallCommand.ConditionalArguments |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected NutsInstallStrategy |
companions |
protected List<AbstractNutsInstallCommand.ConditionalArguments> |
conditionalArguments |
protected boolean |
defaultVersion |
protected NutsId[] |
failed |
protected Map<NutsId,NutsInstallStrategy> |
ids |
protected NutsInstallStrategy |
installed |
protected NutsDefinition[] |
result |
protected NutsInstallStrategy |
strategy |
session, ws| Constructor and Description |
|---|
AbstractNutsInstallCommand(NutsWorkspace ws) |
_LOG, _LOGOP, checkSession, configure, configure, copyFromWorkspaceCommandBase, copySession, getCommandName, getSession, getWorkspace, invalidateResult, setSession, setWsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, copySession, getResult, run, setSessiongetSessionconfigure, configureLastprotected boolean defaultVersion
protected NutsInstallStrategy companions
protected NutsInstallStrategy installed
protected NutsInstallStrategy strategy
protected List<AbstractNutsInstallCommand.ConditionalArguments> conditionalArguments
protected final Map<NutsId,NutsInstallStrategy> ids
protected NutsDefinition[] result
protected NutsId[] failed
public AbstractNutsInstallCommand(NutsWorkspace ws)
public NutsInstallCommand addId(String id)
addId in interface NutsInstallCommandpublic NutsInstallCommand setId(NutsId id)
setId in interface NutsInstallCommandpublic NutsInstallCommand setId(String id)
setId in interface NutsInstallCommandpublic NutsInstallCommand setIds(NutsId... ids)
setIds in interface NutsInstallCommandpublic NutsInstallCommand setIds(String... ids)
setIds in interface NutsInstallCommandpublic NutsInstallCommand addId(NutsId id)
addId in interface NutsInstallCommandpublic NutsInstallCommand addIds(String... ids)
addIds in interface NutsInstallCommandpublic NutsInstallCommand addIds(NutsId... ids)
addIds in interface NutsInstallCommandpublic NutsInstallCommand removeId(NutsId id)
removeId in interface NutsInstallCommandpublic NutsInstallCommand removeId(String id)
removeId in interface NutsInstallCommandpublic NutsInstallCommand clearIds()
clearIds in interface NutsInstallCommandpublic NutsInstallCommand clearArgs()
clearArgs in interface NutsInstallCommandpublic String[] getArgs()
getArgs in interface NutsInstallCommandpublic NutsInstallCommand addArg(String arg)
addArg in interface NutsInstallCommandpublic NutsInstallCommand addArgs(String... args)
addArgs in interface NutsInstallCommandpublic NutsInstallCommand addConditionalArgs(Predicate<NutsDefinition> definition, String... args)
addConditionalArgs in interface NutsInstallCommandpublic NutsInstallCommand addArgs(Collection<String> args)
addArgs in interface NutsInstallCommandpublic NutsId[] getIds()
getIds in interface NutsInstallCommandpublic Map<NutsId,NutsInstallStrategy> getIdMap()
getIdMap in interface NutsInstallCommandpublic boolean isCompanions()
isCompanions in interface NutsInstallCommandpublic NutsInstallCommand setCompanions(boolean value)
setCompanions in interface NutsInstallCommandpublic NutsInstallStrategy getCompanions()
getCompanions in interface NutsInstallCommandpublic boolean isInstalled()
isInstalled in interface NutsInstallCommandpublic NutsInstallCommand setInstalled(boolean value)
setInstalled in interface NutsInstallCommandpublic NutsInstallStrategy getInstalled()
getInstalled in interface NutsInstallCommandpublic boolean isDefaultVersion()
isDefaultVersion in interface NutsInstallCommandpublic NutsInstallCommand setDefaultVersion(boolean defaultVersion)
setDefaultVersion in interface NutsInstallCommandpublic NutsInstallCommand defaultVersion(boolean defaultVersion)
defaultVersion in interface NutsInstallCommandpublic NutsInstallCommand defaultVersion()
defaultVersion in interface NutsInstallCommandpublic NutsInstallCommand companions(boolean value)
companions in interface NutsInstallCommandpublic NutsInstallCommand companions()
companions in interface NutsInstallCommandpublic NutsInstallCommand setStrategy(NutsInstallStrategy value)
setStrategy in interface NutsInstallCommandpublic NutsInstallStrategy getStrategy()
getStrategy in interface NutsInstallCommandpublic boolean configureFirst(NutsCommandLine cmdLine)
configureFirst in interface NutsCommandLineConfigurableconfigureFirst in class NutsWorkspaceCommandBase<NutsInstallCommand>Copyright © 2021 vpc open source initiative. All rights reserved.