public abstract class AbstractNInstallCmd extends NWorkspaceCmdBase<NInstallCmd> implements NInstallCmd
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractNInstallCmd.ConditionalArguments |
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
args |
protected InstallFlags |
companionsInstallFlags |
protected List<AbstractNInstallCmd.ConditionalArguments> |
conditionalArguments |
protected InstallFlags |
currentInstallFlags |
protected boolean |
defaultVersion |
protected NId[] |
failed |
protected Map<NId,InstallFlags> |
ids |
protected InstallFlags |
installedInstallFlags |
protected NDefinition[] |
result |
CUSTOM_SCORE, DEFAULT_SCORE, UNSUPPORTED_SCORE| Constructor and Description |
|---|
AbstractNInstallCmd(NWorkspace workspace) |
_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, getResult, of, of, of, runconfigure, configure, configureLastisValidScore, query, queryprotected boolean defaultVersion
protected InstallFlags companionsInstallFlags
protected InstallFlags installedInstallFlags
protected InstallFlags currentInstallFlags
protected List<AbstractNInstallCmd.ConditionalArguments> conditionalArguments
protected final Map<NId,InstallFlags> ids
protected NDefinition[] result
protected NId[] failed
public AbstractNInstallCmd(NWorkspace workspace)
public boolean isForce()
public NInstallCmd setForce(boolean force)
public boolean isSwitchVersion()
public NInstallCmd setSwitchVersion(boolean switchVersion)
public boolean isRepair()
public NInstallCmd setRepair(boolean repair)
public boolean isDeployOnly()
public NInstallCmd setDeployOnly(boolean deployOnly)
public int getScore(NScorableContext context)
getScore in interface NComponentgetScore in interface NScorablegetScore in class NWorkspaceCmdBase<NInstallCmd>public NInstallCmd addId(String id)
addId in interface NInstallCmdpublic NInstallCmd setId(NId id)
setId in interface NInstallCmdpublic NInstallCmd setId(String id)
setId in interface NInstallCmdpublic NInstallCmd setIds(NId... ids)
setIds in interface NInstallCmdpublic NInstallCmd setIds(String... ids)
setIds in interface NInstallCmdpublic NInstallCmd addId(NId id)
addId in interface NInstallCmdpublic NInstallCmd addIds(String... ids)
addIds in interface NInstallCmdpublic NInstallCmd addIds(NId... ids)
addIds in interface NInstallCmdpublic NInstallCmd removeId(NId id)
removeId in interface NInstallCmdpublic NInstallCmd removeId(String id)
removeId in interface NInstallCmdpublic NInstallCmd clearIds()
clearIds in interface NInstallCmdpublic NInstallCmd clearArgs()
clearArgs in interface NInstallCmdpublic List<String> getArgs()
getArgs in interface NInstallCmdpublic NInstallCmd addArg(String arg)
addArg in interface NInstallCmdpublic NInstallCmd addArgs(String... args)
addArgs in interface NInstallCmdpublic NInstallCmd addConditionalArgs(Predicate<NDefinition> definition, String... args)
addConditionalArgs in interface NInstallCmdpublic NInstallCmd addArgs(Collection<String> args)
addArgs in interface NInstallCmdpublic List<NId> getIds()
getIds in interface NInstallCmdpublic boolean isCompanions()
isCompanions in interface NInstallCmdpublic NInstallCmd setCompanions(boolean value)
setCompanions in interface NInstallCmdpublic boolean isInstalled()
isInstalled in interface NInstallCmdpublic NInstallCmd setInstalled(boolean value)
setInstalled in interface NInstallCmdpublic boolean isDefaultVersion()
isDefaultVersion in interface NInstallCmdpublic NInstallCmd setDefaultVersion(boolean defaultVersion)
setDefaultVersion in interface NInstallCmdpublic NInstallCmd defaultVersion(boolean defaultVersion)
defaultVersion in interface NInstallCmdpublic NInstallCmd defaultVersion()
defaultVersion in interface NInstallCmdpublic NInstallCmd companions(boolean value)
companions in interface NInstallCmdpublic NInstallCmd companions()
companions in interface NInstallCmdpublic boolean configureFirst(NCmdLine cmdLine)
configureFirst in interface NCmdLineConfigurableconfigureFirst in class NWorkspaceCmdBase<NInstallCmd>Copyright © 2025 vpc open source initiative. All rights reserved.