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 boolean isEnableInstall()
isEnableInstall in interface NUpdatepublic NUpdate enableInstall(boolean enableInstall)
enableInstall in interface NUpdatepublic boolean isInstalled()
isInstalled in interface NUpdatepublic boolean isCompanions()
isCompanions in interface NUpdatepublic NUpdate companions(boolean updateCompanions)
companions in interface NUpdatepublic boolean isExtensions()
isExtensions in interface NUpdatepublic NUpdate extensions(boolean updateExtensions)
extensions in interface NUpdatepublic NVersion apiVersion()
apiVersion in interface NUpdatepublic NUpdate apiVersion(NVersion value)
apiVersion 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 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 repositoryFilter()
repositoryFilter in interface NUpdatepublic NUpdate repositoryFilter(NRepositoryFilter repositoryFilter)
repositoryFilter in interface NUpdateCopyright © 2026 vpc open source initiative. All rights reserved.