public class DefaultNUpdateCmd extends AbstractNUpdateCmd
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNUpdateCmd.Type |
args, enableInstall, expireTime, forceBootAPIVersion, ids, includeOptional, lockedIds, repositoryFilter, result, scopes, updateApi, updateCompanions, updateExtensions, updateInstalled, updateRuntimeCUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
DefaultNUpdateCmd(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NUpdateResult |
checkCoreUpdate(NId id,
NVersion bootApiVersion,
DefaultNUpdateCmd.Type type,
Instant now) |
NUpdateCmd |
checkFixes() |
protected NUpdateResult |
checkRegularUpdate(NId id,
DefaultNUpdateCmd.Type type,
NVersion targetApiVersion,
Instant now,
boolean updateEvenIfExisting) |
NUpdateCmd |
checkUpdates() |
boolean |
configureFirst(NCmdLine cmdLine) |
NWorkspaceUpdateResult |
getResult() |
int |
getResultCount() |
protected void |
traceFixes() |
protected void |
traceUpdates(NWorkspaceUpdateResult result) |
NUpdateCmd |
update() |
addArg, addArgs, addArgs, addId, addId, addIds, addIds, addLockedId, addLockedId, addLockedIds, addLockedIds, addScope, addScopes, addScopes, checkUpdates, clearArgs, clearIds, clearLockedIds, clearScopes, getApiVersion, getArgs, getIds, getLockedIds, getRepositoryFilter, getScore, isApi, isCompanions, isEnableInstall, isExtensions, isInstalled, isOptional, isRuntime, removeId, removeId, run, setAll, setApi, setApiVersion, setCompanions, setEnableInstall, setExtensions, setInstalled, setOptional, setRepositoryFilter, setRuntime_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, ofconfigure, configure, configureLastisValidScore, query, querypublic DefaultNUpdateCmd(NWorkspace workspace)
public int getResultCount()
getResultCount in interface NUpdateCmdgetResultCount in class AbstractNUpdateCmdpublic NWorkspaceUpdateResult getResult()
getResult in interface NUpdateCmdgetResult in class AbstractNUpdateCmdpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableconfigureFirst in class AbstractNUpdateCmdpublic NUpdateCmd update()
public NUpdateCmd checkUpdates()
public NUpdateCmd checkFixes()
protected void traceFixes()
protected void traceUpdates(NWorkspaceUpdateResult result)
protected NUpdateResult checkRegularUpdate(NId id, DefaultNUpdateCmd.Type type, NVersion targetApiVersion, Instant now, boolean updateEvenIfExisting)
public NUpdateResult checkCoreUpdate(NId id, NVersion bootApiVersion, DefaultNUpdateCmd.Type type, Instant now)
Copyright © 2025 vpc open source initiative. All rights reserved.