public abstract class AbstractNUpdate extends NWorkspaceCmdBase<NUpdate> implements NUpdate
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected boolean |
enableInstall |
protected Instant |
expireTime |
protected NVersion |
forceBootAPIVersion |
protected List<NId> |
ids |
protected boolean |
includeOptional |
protected List<NId> |
lockedIds |
protected NRepositoryFilter |
repositoryFilter |
protected NWorkspaceUpdateResult |
result |
protected List<NDependencyScope> |
scopes |
protected boolean |
updateApi |
protected boolean |
updateCompanions |
protected boolean |
updateExtensions |
protected boolean |
updateInstalled |
protected boolean |
updateRuntime |
| Constructor and Description |
|---|
AbstractNUpdate() |
_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckUpdates, configure, of, updateconfigure, configure, configureLastprotected boolean enableInstall
protected boolean updateApi
protected boolean updateRuntime
protected boolean updateExtensions
protected boolean updateInstalled
protected boolean updateCompanions
protected boolean includeOptional
protected NVersion forceBootAPIVersion
protected Instant expireTime
protected final List<NDependencyScope> scopes
protected NWorkspaceUpdateResult result
protected NRepositoryFilter repositoryFilter
public NUpdate addScope(NDependencyScope scope)
public NUpdate addScopes(NDependencyScope... scopes)
public NUpdate addScopes(Collection<NDependencyScope> scopes)
public boolean isOptional()
isOptional in interface NUpdatepublic NUpdate setOptional(boolean includeOptional)
setOptional in interface NUpdatepublic NUpdate addArgs(Collection<String> args)
public List<NId> getLockedIds()
getLockedIds in interface NUpdatepublic boolean isEnableInstall()
isEnableInstall in interface NUpdatepublic NUpdate setEnableInstall(boolean enableInstall)
setEnableInstall in interface NUpdatepublic boolean isInstalled()
isInstalled in interface NUpdatepublic boolean isCompanions()
isCompanions in interface NUpdatepublic NUpdate setCompanions(boolean updateCompanions)
setCompanions in interface NUpdatepublic boolean isExtensions()
isExtensions in interface NUpdatepublic NUpdate setExtensions(boolean updateExtensions)
setExtensions in interface NUpdatepublic NVersion getApiVersion()
getApiVersion in interface NUpdatepublic NUpdate setApiVersion(NVersion value)
setApiVersion in interface NUpdatepublic int getResultCount()
getResultCount in interface NUpdatepublic NWorkspaceUpdateResult getResult()
public NUpdate run()
run in interface NUpdaterun in interface NWorkspaceCmdpublic NUpdate checkUpdates(boolean applyUpdates)
checkUpdates in interface NUpdatepublic NUpdate setRuntime(boolean updateRuntime)
setRuntime in interface NUpdatepublic NUpdate setInstalled(boolean enable)
setInstalled in interface NUpdatepublic NUpdate addLockedId(NId id)
addLockedId in interface NUpdatepublic NUpdate addLockedId(String id)
addLockedId in interface NUpdatepublic NUpdate addLockedIds(NId... ids)
addLockedIds in interface NUpdatepublic NUpdate addLockedIds(String... ids)
addLockedIds in interface NUpdatepublic NUpdate clearLockedIds()
clearLockedIds in interface NUpdatepublic NUpdate clearScopes()
clearScopes in interface NUpdatepublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<NUpdate>public NRepositoryFilter getRepositoryFilter()
getRepositoryFilter in interface NUpdatepublic NUpdate setRepositoryFilter(NRepositoryFilter repositoryFilter)
setRepositoryFilter in interface NUpdateCopyright © 2026 vpc open source initiative. All rights reserved.