public abstract class AbstractDefaultNPushCmd extends NWorkspaceCmdBase<NPushCmd> implements NPushCmd
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected List<NId> |
ids |
protected List<NId> |
lockedIds |
protected boolean |
offline |
protected String |
repository |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
AbstractDefaultNPushCmd(NWorkspace workspace) |
| Modifier and Type | Method and Description |
|---|---|
NPushCmd |
addArg(String arg) |
NPushCmd |
addArgs(Collection<String> args) |
NPushCmd |
addArgs(String... args) |
NPushCmd |
addId(NId id) |
NPushCmd |
addId(String id) |
NPushCmd |
addIds(NId... ids) |
NPushCmd |
addIds(String... ids) |
NPushCmd |
addLockedId(NId id) |
NPushCmd |
addLockedId(String id) |
NPushCmd |
addLockedIds(NId... values) |
NPushCmd |
addLockedIds(String... values) |
NPushCmd |
args(Collection<String> args) |
NPushCmd |
clearArgs() |
NPushCmd |
clearIds() |
NPushCmd |
clearLockedIds() |
boolean |
configureFirst(NCmdLine cmdLine) |
List<String> |
getArgs() |
List<NId> |
getIds() |
List<NId> |
getLockedIds() |
String |
getRepository() |
int |
getScore(NScorableContext context) |
boolean |
isOffline() |
NPushCmd |
removeId(NId id) |
NPushCmd |
removeId(String id) |
NPushCmd |
removeLockedId(NId id) |
NPushCmd |
removeLockedId(String id) |
NPushCmd |
setOffline(boolean offline) |
NPushCmd |
setRepository(String repository) |
_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, configure, configureLastisValidScore, query, queryprotected boolean offline
protected String repository
public AbstractDefaultNPushCmd(NWorkspace workspace)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablegetScore in class NWorkspaceCmdBase<NPushCmd>public NPushCmd addLockedId(String id)
addLockedId in interface NPushCmdpublic NPushCmd removeLockedId(NId id)
removeLockedId in interface NPushCmdpublic NPushCmd removeLockedId(String id)
removeLockedId in interface NPushCmdpublic NPushCmd addLockedId(NId id)
addLockedId in interface NPushCmdpublic NPushCmd addLockedIds(String... values)
addLockedIds in interface NPushCmdpublic NPushCmd addLockedIds(NId... values)
addLockedIds in interface NPushCmdpublic NPushCmd addArgs(Collection<String> args)
public List<NId> getLockedIds()
getLockedIds in interface NPushCmdpublic NPushCmd setOffline(boolean offline)
setOffline in interface NPushCmdpublic String getRepository()
getRepository in interface NPushCmdpublic NPushCmd setRepository(String repository)
setRepository in interface NPushCmdpublic NPushCmd args(Collection<String> args)
public NPushCmd clearLockedIds()
clearLockedIds in interface NPushCmdpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<NPushCmd>Copyright © 2025 vpc open source initiative. All rights reserved.