public abstract class AbstractNutsUpdateCommand extends NutsWorkspaceCommandBase<net.thevpc.nuts.NutsUpdateCommand> implements net.thevpc.nuts.NutsUpdateCommand
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected boolean |
enableInstall |
protected Instant |
expireTime |
protected net.thevpc.nuts.NutsVersion |
forceBootAPIVersion |
protected List<net.thevpc.nuts.NutsId> |
ids |
protected boolean |
includeOptional |
protected List<net.thevpc.nuts.NutsId> |
lockedIds |
protected net.thevpc.nuts.NutsWorkspaceUpdateResult |
result |
protected List<net.thevpc.nuts.NutsDependencyScope> |
scopes |
protected boolean |
updateApi |
protected boolean |
updateCompanions |
protected boolean |
updateExtensions |
protected boolean |
updateInstalled |
protected boolean |
updateRuntime |
session, ws| Constructor and Description |
|---|
AbstractNutsUpdateCommand(net.thevpc.nuts.NutsWorkspace ws) |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsUpdateCommand |
addArg(String arg) |
net.thevpc.nuts.NutsUpdateCommand |
addArgs(Collection<String> args) |
net.thevpc.nuts.NutsUpdateCommand |
addArgs(String... args) |
net.thevpc.nuts.NutsUpdateCommand |
addId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsUpdateCommand |
addId(String id) |
net.thevpc.nuts.NutsUpdateCommand |
addIds(net.thevpc.nuts.NutsId... ids) |
net.thevpc.nuts.NutsUpdateCommand |
addIds(String... ids) |
net.thevpc.nuts.NutsUpdateCommand |
addLockedId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsUpdateCommand |
addLockedId(String id) |
net.thevpc.nuts.NutsUpdateCommand |
addLockedIds(net.thevpc.nuts.NutsId... ids) |
net.thevpc.nuts.NutsUpdateCommand |
addLockedIds(String... ids) |
net.thevpc.nuts.NutsUpdateCommand |
addScope(net.thevpc.nuts.NutsDependencyScope scope) |
net.thevpc.nuts.NutsUpdateCommand |
addScopes(Collection<net.thevpc.nuts.NutsDependencyScope> scopes) |
net.thevpc.nuts.NutsUpdateCommand |
addScopes(net.thevpc.nuts.NutsDependencyScope... scopes) |
net.thevpc.nuts.NutsUpdateCommand |
checkUpdates(boolean applyUpdates) |
net.thevpc.nuts.NutsUpdateCommand |
clearArgs() |
net.thevpc.nuts.NutsUpdateCommand |
clearIds() |
net.thevpc.nuts.NutsUpdateCommand |
clearLockedIds() |
net.thevpc.nuts.NutsUpdateCommand |
clearScopes() |
boolean |
configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine) |
net.thevpc.nuts.NutsVersion |
getApiVersion() |
String[] |
getArgs() |
net.thevpc.nuts.NutsId[] |
getIds() |
net.thevpc.nuts.NutsId[] |
getLockedIds() |
net.thevpc.nuts.NutsWorkspaceUpdateResult |
getResult() |
int |
getResultCount() |
boolean |
isApi() |
boolean |
isCompanions() |
boolean |
isEnableInstall() |
boolean |
isExtensions() |
boolean |
isInstalled() |
boolean |
isOptional() |
boolean |
isRuntime() |
net.thevpc.nuts.NutsUpdateCommand |
removeId(net.thevpc.nuts.NutsId id) |
net.thevpc.nuts.NutsUpdateCommand |
removeId(String id) |
net.thevpc.nuts.NutsUpdateCommand |
run() |
net.thevpc.nuts.NutsUpdateCommand |
setAll() |
net.thevpc.nuts.NutsUpdateCommand |
setApi(boolean enableMajorUpdates) |
net.thevpc.nuts.NutsUpdateCommand |
setApiVersion(net.thevpc.nuts.NutsVersion value) |
net.thevpc.nuts.NutsUpdateCommand |
setCompanions(boolean updateCompanions) |
net.thevpc.nuts.NutsUpdateCommand |
setEnableInstall(boolean enableInstall) |
net.thevpc.nuts.NutsUpdateCommand |
setExtensions(boolean updateExtensions) |
net.thevpc.nuts.NutsUpdateCommand |
setInstalled(boolean enable) |
net.thevpc.nuts.NutsUpdateCommand |
setOptional(boolean includeOptional) |
net.thevpc.nuts.NutsUpdateCommand |
setRuntime(boolean updateRuntime) |
_LOG, _LOGOP, checkSession, configure, configure, copyFromWorkspaceCommandBase, copySession, getCommandName, getSession, getWorkspace, invalidateResult, setSession, setWsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected boolean enableInstall
protected boolean updateApi
protected boolean updateRuntime
protected boolean updateExtensions
protected boolean updateInstalled
protected boolean updateCompanions
protected boolean includeOptional
protected net.thevpc.nuts.NutsVersion forceBootAPIVersion
protected Instant expireTime
protected final List<net.thevpc.nuts.NutsDependencyScope> scopes
protected final List<net.thevpc.nuts.NutsId> lockedIds
protected final List<net.thevpc.nuts.NutsId> ids
protected net.thevpc.nuts.NutsWorkspaceUpdateResult result
public AbstractNutsUpdateCommand(net.thevpc.nuts.NutsWorkspace ws)
public net.thevpc.nuts.NutsId[] getIds()
getIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addId(String id)
addId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addId(net.thevpc.nuts.NutsId id)
addId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addIds(String... ids)
addIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addIds(net.thevpc.nuts.NutsId... ids)
addIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand removeId(net.thevpc.nuts.NutsId id)
removeId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand removeId(String id)
removeId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addScope(net.thevpc.nuts.NutsDependencyScope scope)
addScope in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addScopes(net.thevpc.nuts.NutsDependencyScope... scopes)
addScopes in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addScopes(Collection<net.thevpc.nuts.NutsDependencyScope> scopes)
addScopes in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isOptional()
isOptional in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setOptional(boolean includeOptional)
setOptional in interface net.thevpc.nuts.NutsUpdateCommandpublic String[] getArgs()
getArgs in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addArg(String arg)
addArg in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand clearArgs()
clearArgs in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addArgs(String... args)
addArgs in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addArgs(Collection<String> args)
addArgs in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsId[] getLockedIds()
getLockedIds in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isEnableInstall()
isEnableInstall in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setEnableInstall(boolean enableInstall)
setEnableInstall in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isApi()
isApi in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isInstalled()
isInstalled in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isCompanions()
isCompanions in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isRuntime()
isRuntime in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setApi(boolean enableMajorUpdates)
setApi in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setCompanions(boolean updateCompanions)
setCompanions in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean isExtensions()
isExtensions in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setExtensions(boolean updateExtensions)
setExtensions in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsVersion getApiVersion()
getApiVersion in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setApiVersion(net.thevpc.nuts.NutsVersion value)
setApiVersion in interface net.thevpc.nuts.NutsUpdateCommandpublic int getResultCount()
getResultCount in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsWorkspaceUpdateResult getResult()
getResult in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand run()
run in interface net.thevpc.nuts.NutsUpdateCommandrun in interface net.thevpc.nuts.NutsWorkspaceCommandpublic net.thevpc.nuts.NutsUpdateCommand checkUpdates(boolean applyUpdates)
checkUpdates in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setRuntime(boolean updateRuntime)
setRuntime in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setInstalled(boolean enable)
setInstalled in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand setAll()
setAll in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand clearIds()
clearIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addLockedId(net.thevpc.nuts.NutsId id)
addLockedId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addLockedId(String id)
addLockedId in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addLockedIds(net.thevpc.nuts.NutsId... ids)
addLockedIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand addLockedIds(String... ids)
addLockedIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand clearLockedIds()
clearLockedIds in interface net.thevpc.nuts.NutsUpdateCommandpublic net.thevpc.nuts.NutsUpdateCommand clearScopes()
clearScopes in interface net.thevpc.nuts.NutsUpdateCommandpublic boolean configureFirst(net.thevpc.nuts.NutsCommandLine cmdLine)
configureFirst in interface net.thevpc.nuts.NutsCommandLineConfigurableconfigureFirst in class NutsWorkspaceCommandBase<net.thevpc.nuts.NutsUpdateCommand>Copyright © 2022 vpc open source initiative. All rights reserved.