public class DefaultNutsUpdateCommand extends AbstractNutsUpdateCommand
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultNutsUpdateCommand.Type |
args, enableInstall, expireTime, forceBootAPIVersion, ids, includeOptional, lockedIds, result, scopes, updateApi, updateCompanions, updateExtensions, updateInstalled, updateRuntimesession, ws| Constructor and Description |
|---|
DefaultNutsUpdateCommand(NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
NutsUpdateResult |
checkCoreUpdate(NutsId id,
NutsVersion bootApiVersion,
NutsSession session,
DefaultNutsUpdateCommand.Type type,
Instant now) |
NutsUpdateCommand |
checkFixes() |
protected NutsUpdateResult |
checkRegularUpdate(NutsId id,
DefaultNutsUpdateCommand.Type type,
NutsVersion targetApiVersion,
Instant now,
boolean updateEvenIfExisting) |
NutsUpdateCommand |
checkUpdates() |
boolean |
configureFirst(NutsCommandLine cmdLine) |
NutsWorkspaceUpdateResult |
getResult() |
int |
getResultCount() |
protected void |
traceFixes() |
protected void |
traceUpdates(NutsWorkspaceUpdateResult result) |
NutsUpdateCommand |
update() |
addArg, addArgs, addArgs, addId, addId, addIds, addIds, addLockedId, addLockedId, addLockedIds, addLockedIds, addScope, addScopes, addScopes, checkUpdates, clearArgs, clearIds, clearLockedIds, clearScopes, getApiVersion, getArgs, getIds, getLockedIds, isApi, isCompanions, isEnableInstall, isExtensions, isInstalled, isOptional, isRuntime, removeId, removeId, run, setAll, setApi, setApiVersion, setCompanions, setEnableInstall, setExtensions, setInstalled, setOptional, setRuntime_LOG, _LOGOP, checkSession, configure, configure, copyFromWorkspaceCommandBase, copySession, getCommandName, getSession, getWorkspace, invalidateResult, setSession, setWsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, copySession, setSessiongetSessionconfigure, configureLastpublic DefaultNutsUpdateCommand(NutsWorkspace ws)
public int getResultCount()
getResultCount in interface NutsUpdateCommandgetResultCount in class AbstractNutsUpdateCommandpublic NutsWorkspaceUpdateResult getResult()
getResult in interface NutsUpdateCommandgetResult in class AbstractNutsUpdateCommandpublic boolean configureFirst(NutsCommandLine cmdLine)
configureFirst in interface NutsCommandLineConfigurableconfigureFirst in class AbstractNutsUpdateCommandpublic NutsUpdateCommand update()
public NutsUpdateCommand checkUpdates()
public NutsUpdateCommand checkFixes()
protected void traceFixes()
protected void traceUpdates(NutsWorkspaceUpdateResult result)
protected NutsUpdateResult checkRegularUpdate(NutsId id, DefaultNutsUpdateCommand.Type type, NutsVersion targetApiVersion, Instant now, boolean updateEvenIfExisting)
public NutsUpdateResult checkCoreUpdate(NutsId id, NutsVersion bootApiVersion, NutsSession session, DefaultNutsUpdateCommand.Type type, Instant now)
Copyright © 2021 vpc open source initiative. All rights reserved.