public abstract class AbstractNUpdateCmd extends NWorkspaceCmdBase<net.thevpc.nuts.NUpdateCmd> implements net.thevpc.nuts.NUpdateCmd
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected boolean |
enableInstall |
protected Instant |
expireTime |
protected net.thevpc.nuts.NVersion |
forceBootAPIVersion |
protected List<net.thevpc.nuts.NId> |
ids |
protected boolean |
includeOptional |
protected List<net.thevpc.nuts.NId> |
lockedIds |
protected net.thevpc.nuts.NRepositoryFilter |
repositoryFilter |
protected net.thevpc.nuts.NWorkspaceUpdateResult |
result |
protected List<net.thevpc.nuts.NDependencyScope> |
scopes |
protected boolean |
updateApi |
protected boolean |
updateCompanions |
protected boolean |
updateExtensions |
protected boolean |
updateInstalled |
protected boolean |
updateRuntime |
| Constructor and Description |
|---|
AbstractNUpdateCmd(net.thevpc.nuts.NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NUpdateCmd |
addArg(String arg) |
net.thevpc.nuts.NUpdateCmd |
addArgs(Collection<String> args) |
net.thevpc.nuts.NUpdateCmd |
addArgs(String... args) |
net.thevpc.nuts.NUpdateCmd |
addId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NUpdateCmd |
addId(String id) |
net.thevpc.nuts.NUpdateCmd |
addIds(net.thevpc.nuts.NId... ids) |
net.thevpc.nuts.NUpdateCmd |
addIds(String... ids) |
net.thevpc.nuts.NUpdateCmd |
addLockedId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NUpdateCmd |
addLockedId(String id) |
net.thevpc.nuts.NUpdateCmd |
addLockedIds(net.thevpc.nuts.NId... ids) |
net.thevpc.nuts.NUpdateCmd |
addLockedIds(String... ids) |
net.thevpc.nuts.NUpdateCmd |
addScope(net.thevpc.nuts.NDependencyScope scope) |
net.thevpc.nuts.NUpdateCmd |
addScopes(Collection<net.thevpc.nuts.NDependencyScope> scopes) |
net.thevpc.nuts.NUpdateCmd |
addScopes(net.thevpc.nuts.NDependencyScope... scopes) |
net.thevpc.nuts.NUpdateCmd |
checkUpdates(boolean applyUpdates) |
net.thevpc.nuts.NUpdateCmd |
clearArgs() |
net.thevpc.nuts.NUpdateCmd |
clearIds() |
net.thevpc.nuts.NUpdateCmd |
clearLockedIds() |
net.thevpc.nuts.NUpdateCmd |
clearScopes() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.NVersion |
getApiVersion() |
List<String> |
getArgs() |
List<net.thevpc.nuts.NId> |
getIds() |
List<net.thevpc.nuts.NId> |
getLockedIds() |
net.thevpc.nuts.NRepositoryFilter |
getRepositoryFilter() |
net.thevpc.nuts.NWorkspaceUpdateResult |
getResult() |
int |
getResultCount() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
boolean |
isApi() |
boolean |
isCompanions() |
boolean |
isEnableInstall() |
boolean |
isExtensions() |
boolean |
isInstalled() |
boolean |
isOptional() |
boolean |
isRuntime() |
net.thevpc.nuts.NUpdateCmd |
removeId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NUpdateCmd |
removeId(String id) |
net.thevpc.nuts.NUpdateCmd |
run() |
net.thevpc.nuts.NUpdateCmd |
setAll() |
net.thevpc.nuts.NUpdateCmd |
setApi(boolean enableMajorUpdates) |
net.thevpc.nuts.NUpdateCmd |
setApiVersion(net.thevpc.nuts.NVersion value) |
net.thevpc.nuts.NUpdateCmd |
setCompanions(boolean updateCompanions) |
net.thevpc.nuts.NUpdateCmd |
setEnableInstall(boolean enableInstall) |
net.thevpc.nuts.NUpdateCmd |
setExtensions(boolean updateExtensions) |
net.thevpc.nuts.NUpdateCmd |
setInstalled(boolean enable) |
net.thevpc.nuts.NUpdateCmd |
setOptional(boolean includeOptional) |
net.thevpc.nuts.NUpdateCmd |
setRepositoryFilter(net.thevpc.nuts.NRepositoryFilter repositoryFilter) |
net.thevpc.nuts.NUpdateCmd |
setRuntime(boolean updateRuntime) |
_LOG, _LOGOP, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultprotected boolean enableInstall
protected boolean updateApi
protected boolean updateRuntime
protected boolean updateExtensions
protected boolean updateInstalled
protected boolean updateCompanions
protected boolean includeOptional
protected net.thevpc.nuts.NVersion forceBootAPIVersion
protected Instant expireTime
protected final List<net.thevpc.nuts.NDependencyScope> scopes
protected final List<net.thevpc.nuts.NId> lockedIds
protected final List<net.thevpc.nuts.NId> ids
protected net.thevpc.nuts.NWorkspaceUpdateResult result
protected net.thevpc.nuts.NRepositoryFilter repositoryFilter
public AbstractNUpdateCmd(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.NUpdateCmd>public List<net.thevpc.nuts.NId> getIds()
getIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addId(String id)
addId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addId(net.thevpc.nuts.NId id)
addId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addIds(String... ids)
addIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addIds(net.thevpc.nuts.NId... ids)
addIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd removeId(net.thevpc.nuts.NId id)
removeId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd removeId(String id)
removeId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addScope(net.thevpc.nuts.NDependencyScope scope)
addScope in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addScopes(net.thevpc.nuts.NDependencyScope... scopes)
addScopes in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addScopes(Collection<net.thevpc.nuts.NDependencyScope> scopes)
addScopes in interface net.thevpc.nuts.NUpdateCmdpublic boolean isOptional()
isOptional in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setOptional(boolean includeOptional)
setOptional in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addArg(String arg)
addArg in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd clearArgs()
clearArgs in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addArgs(String... args)
addArgs in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addArgs(Collection<String> args)
addArgs in interface net.thevpc.nuts.NUpdateCmdpublic List<net.thevpc.nuts.NId> getLockedIds()
getLockedIds in interface net.thevpc.nuts.NUpdateCmdpublic boolean isEnableInstall()
isEnableInstall in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setEnableInstall(boolean enableInstall)
setEnableInstall in interface net.thevpc.nuts.NUpdateCmdpublic boolean isApi()
isApi in interface net.thevpc.nuts.NUpdateCmdpublic boolean isInstalled()
isInstalled in interface net.thevpc.nuts.NUpdateCmdpublic boolean isCompanions()
isCompanions in interface net.thevpc.nuts.NUpdateCmdpublic boolean isRuntime()
isRuntime in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setApi(boolean enableMajorUpdates)
setApi in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setCompanions(boolean updateCompanions)
setCompanions in interface net.thevpc.nuts.NUpdateCmdpublic boolean isExtensions()
isExtensions in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setExtensions(boolean updateExtensions)
setExtensions in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NVersion getApiVersion()
getApiVersion in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setApiVersion(net.thevpc.nuts.NVersion value)
setApiVersion in interface net.thevpc.nuts.NUpdateCmdpublic int getResultCount()
getResultCount in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NWorkspaceUpdateResult getResult()
getResult in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd run()
run in interface net.thevpc.nuts.NUpdateCmdrun in interface net.thevpc.nuts.NWorkspaceCmdpublic net.thevpc.nuts.NUpdateCmd checkUpdates(boolean applyUpdates)
checkUpdates in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setRuntime(boolean updateRuntime)
setRuntime in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setInstalled(boolean enable)
setInstalled in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setAll()
setAll in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd clearIds()
clearIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addLockedId(net.thevpc.nuts.NId id)
addLockedId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addLockedId(String id)
addLockedId in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addLockedIds(net.thevpc.nuts.NId... ids)
addLockedIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd addLockedIds(String... ids)
addLockedIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd clearLockedIds()
clearLockedIds in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd clearScopes()
clearScopes in interface net.thevpc.nuts.NUpdateCmdpublic boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<net.thevpc.nuts.NUpdateCmd>public net.thevpc.nuts.NRepositoryFilter getRepositoryFilter()
getRepositoryFilter in interface net.thevpc.nuts.NUpdateCmdpublic net.thevpc.nuts.NUpdateCmd setRepositoryFilter(net.thevpc.nuts.NRepositoryFilter repositoryFilter)
setRepositoryFilter in interface net.thevpc.nuts.NUpdateCmdCopyright © 2025 vpc open source initiative. All rights reserved.