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(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsUpdateResult |
checkCoreUpdate(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsVersion bootApiVersion,
net.thevpc.nuts.NutsSession session,
DefaultNutsUpdateCommand.Type type,
Instant now) |
net.thevpc.nuts.NutsUpdateCommand |
checkFixes() |
protected net.thevpc.nuts.NutsUpdateResult |
checkRegularUpdate(net.thevpc.nuts.NutsId id,
DefaultNutsUpdateCommand.Type type,
net.thevpc.nuts.NutsVersion targetApiVersion,
Instant now,
boolean updateEvenIfExisting) |
net.thevpc.nuts.NutsUpdateCommand |
checkUpdates() |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine) |
net.thevpc.nuts.NutsWorkspaceUpdateResult |
getResult() |
int |
getResultCount() |
protected void |
traceFixes() |
protected void |
traceUpdates(net.thevpc.nuts.NutsWorkspaceUpdateResult result) |
net.thevpc.nuts.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, waitpublic DefaultNutsUpdateCommand(net.thevpc.nuts.NutsWorkspace ws)
public int getResultCount()
getResultCount in interface net.thevpc.nuts.NutsUpdateCommandgetResultCount in class AbstractNutsUpdateCommandpublic net.thevpc.nuts.NutsWorkspaceUpdateResult getResult()
getResult in interface net.thevpc.nuts.NutsUpdateCommandgetResult in class AbstractNutsUpdateCommandpublic boolean configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurableconfigureFirst in class AbstractNutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand update()
public net.thevpc.nuts.NutsUpdateCommand checkUpdates()
public net.thevpc.nuts.NutsUpdateCommand checkFixes()
protected void traceFixes()
protected void traceUpdates(net.thevpc.nuts.NutsWorkspaceUpdateResult result)
protected net.thevpc.nuts.NutsUpdateResult checkRegularUpdate(net.thevpc.nuts.NutsId id,
DefaultNutsUpdateCommand.Type type,
net.thevpc.nuts.NutsVersion targetApiVersion,
Instant now,
boolean updateEvenIfExisting)
public net.thevpc.nuts.NutsUpdateResult checkCoreUpdate(net.thevpc.nuts.NutsId id,
net.thevpc.nuts.NutsVersion bootApiVersion,
net.thevpc.nuts.NutsSession session,
DefaultNutsUpdateCommand.Type type,
Instant now)
Copyright © 2021 vpc open source initiative. All rights reserved.