public abstract class AbstractNSearchCmd extends DefaultNQueryBaseOptions<net.thevpc.nuts.NSearchCmd> implements net.thevpc.nuts.NSearchCmd
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.util.NComparator |
comparator |
protected net.thevpc.nuts.NDefinitionFilter |
definitionFilter |
protected boolean |
describe |
protected boolean |
distinct |
protected SearchExecType |
execType |
protected List<net.thevpc.nuts.NId> |
ids |
protected boolean |
ignoreCurrentEnvironment |
protected boolean |
includeBasePackage |
protected boolean |
latest |
protected boolean |
sorted |
protected net.thevpc.nuts.NVersion |
targetApiVersion |
dependencyFilter| Constructor and Description |
|---|
AbstractNSearchCmd() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NSearchCmd |
addDefinitionFilter(net.thevpc.nuts.NDefinitionFilter filter) |
net.thevpc.nuts.NSearchCmd |
addId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NSearchCmd |
addId(String id) |
net.thevpc.nuts.NSearchCmd |
addIds(net.thevpc.nuts.NId... value) |
net.thevpc.nuts.NSearchCmd |
addIds(String... values) |
protected net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
applyPrintDecoratorIterOfNutsId(net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> curr,
boolean print) |
protected <T> net.thevpc.nuts.util.NStream<T> |
buildCollectionResult(net.thevpc.nuts.util.NIterator<T> o) |
net.thevpc.nuts.NSearchCmd |
clearIds() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.NSearchCmd |
copyFrom(net.thevpc.nuts.NFetchCmd other) |
net.thevpc.nuts.NSearchCmd |
copyFrom(net.thevpc.nuts.NSearchCmd other) |
net.thevpc.nuts.NSearchCmd |
distinct() |
net.thevpc.nuts.util.NComparator |
getComparator() |
net.thevpc.nuts.NDefinitionFilter |
getDefinitionFilter() |
SearchExecType |
getExecType() |
List<net.thevpc.nuts.NId> |
getIds() |
net.thevpc.nuts.util.NStream<String> |
getResultArch() |
ClassLoader |
getResultClassLoader() |
ClassLoader |
getResultClassLoader(ClassLoader parent) |
String |
getResultClassPath() |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NDefinition> |
getResultDefinitionIteratorBase() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDefinition> |
getResultDefinitions() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDependencies> |
getResultDependencies() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDescriptor> |
getResultDescriptors() |
net.thevpc.nuts.util.NStream<String> |
getResultDesktopEnvironment() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NExecutionEntry> |
getResultExecutionEntries() |
protected abstract net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> |
getResultIdIteratorBase(Boolean forceInlineDependencies) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NId> |
getResultIds() |
protected net.thevpc.nuts.util.NStream<net.thevpc.nuts.NId> |
getResultIdsBase(boolean sort) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDependency> |
getResultInlineDependencies() |
net.thevpc.nuts.util.NStream<Instant> |
getResultInstallDates() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
getResultInstallFolders() |
net.thevpc.nuts.util.NStream<String> |
getResultInstallUsers() |
net.thevpc.nuts.util.NStream<String> |
getResultNames() |
String |
getResultNutsPath() |
net.thevpc.nuts.util.NStream<String> |
getResultOs() |
net.thevpc.nuts.util.NStream<String> |
getResultOsDist() |
net.thevpc.nuts.util.NStream<String> |
getResultPackaging() |
net.thevpc.nuts.util.NStream<String> |
getResultPathNames() |
net.thevpc.nuts.util.NStream<String> |
getResultPaths() |
net.thevpc.nuts.util.NStream<String> |
getResultPlatform() |
net.thevpc.nuts.util.NStream<String> |
getResultProfile() |
net.thevpc.nuts.elem.NElement |
getResultQueryPlan() |
net.thevpc.nuts.util.NStream<String> |
getResultStatuses() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> |
getResultStoreLocations(net.thevpc.nuts.NStoreType location) |
net.thevpc.nuts.util.NStream<String[]> |
getResultStrings(String[] columns) |
protected net.thevpc.nuts.NSession |
getSearchSession() |
int |
getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context) |
net.thevpc.nuts.NVersion |
getTargetApiVersion() |
boolean |
isBasePackage() |
boolean |
isCompanion() |
boolean |
isDistinct() |
boolean |
isExec() |
boolean |
isExtension() |
boolean |
isIgnoreCurrentEnvironment() |
boolean |
isLatest() |
boolean |
isLib() |
boolean |
isNutsApplication() |
boolean |
isPlatformApplication() |
boolean |
isRuntime() |
boolean |
isSorted() |
net.thevpc.nuts.NSearchCmd |
latest() |
protected <T> net.thevpc.nuts.util.NStream<T> |
postProcessResult(net.thevpc.nuts.util.NIteratorBuilder<T> a) |
net.thevpc.nuts.NSearchCmd |
removeId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NSearchCmd |
removeId(String id) |
protected String |
resolveFindIdBase() |
net.thevpc.nuts.NSearchCmd |
run() |
<T> net.thevpc.nuts.util.NIterator<T> |
runIterator() |
net.thevpc.nuts.NSearchCmd |
setBasePackage(boolean includeBasePackage) |
net.thevpc.nuts.NSearchCmd |
setCompanion(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setDefinitionFilter(net.thevpc.nuts.NDefinitionFilter filter) |
net.thevpc.nuts.NSearchCmd |
setDistinct(boolean distinct) |
net.thevpc.nuts.NSearchCmd |
setExec(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setExtension(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setId(net.thevpc.nuts.NId id) |
net.thevpc.nuts.NSearchCmd |
setId(String id) |
net.thevpc.nuts.NSearchCmd |
setIds(net.thevpc.nuts.NId... ids) |
net.thevpc.nuts.NSearchCmd |
setIds(String... ids) |
net.thevpc.nuts.NSearchCmd |
setIgnoreCurrentEnvironment(boolean ignoreCurrentEnvironment) |
net.thevpc.nuts.NSearchCmd |
setLatest(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setLib(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setNutsApplication(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setPlatformApplication(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setRuntime(boolean enable) |
net.thevpc.nuts.NSearchCmd |
setSorted(boolean sort) |
net.thevpc.nuts.NSearchCmd |
setTargetApiVersion(net.thevpc.nuts.NVersion targetApiVersion) |
net.thevpc.nuts.NSearchCmd |
sort(Comparator<?> comparator) |
String |
toString() |
addDependencyFilter, addRepositoryFilter, copyFromDefaultNQueryBaseOptions, failFast, getDependencyFilter, getDisplayOptions, getExpireTime, getFetchStrategy, getRepositoryFilter, getTransitive, isFailFast, isInlineDependencies, setDependencyFilter, setDependencyFilter, setExpireTime, setFailFast, setFetchStrategy, setInlineDependencies, setRepositoryFilter, setTransitive_LOG, _LOGOP, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependencyFilter, addRepositoryFilter, configure, copy, failFast, getDependencyFilter, getExpireTime, getFetchStrategy, getRepositoryFilter, getTransitive, isFailFast, isInlineDependencies, of, of, of, setDependencyFilter, setDependencyFilter, setExpireTime, setFailFast, setFetchStrategy, setInlineDependencies, setRepositoryFilter, setTransitive, toFetchprotected final List<net.thevpc.nuts.NId> ids
protected net.thevpc.nuts.util.NComparator comparator
protected net.thevpc.nuts.NDefinitionFilter definitionFilter
protected boolean latest
protected boolean distinct
protected boolean includeBasePackage
protected boolean sorted
protected boolean ignoreCurrentEnvironment
protected boolean describe
protected SearchExecType execType
protected net.thevpc.nuts.NVersion targetApiVersion
public boolean isIgnoreCurrentEnvironment()
isIgnoreCurrentEnvironment in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setIgnoreCurrentEnvironment(boolean ignoreCurrentEnvironment)
setIgnoreCurrentEnvironment in interface net.thevpc.nuts.NSearchCmdpublic int getSupportLevel(net.thevpc.nuts.spi.NSupportLevelContext context)
getSupportLevel in interface net.thevpc.nuts.spi.NComponentgetSupportLevel in class NWorkspaceCmdBase<net.thevpc.nuts.NSearchCmd>public net.thevpc.nuts.NSearchCmd clearIds()
clearIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd addId(String id)
addId in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd addId(net.thevpc.nuts.NId id)
addId in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd addIds(String... values)
addIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd addIds(net.thevpc.nuts.NId... value)
addIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd removeId(String id)
removeId in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd removeId(net.thevpc.nuts.NId id)
removeId in interface net.thevpc.nuts.NSearchCmdpublic boolean isRuntime()
isRuntime in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setRuntime(boolean enable)
setRuntime in interface net.thevpc.nuts.NSearchCmdpublic boolean isCompanion()
isCompanion in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setCompanion(boolean enable)
setCompanion in interface net.thevpc.nuts.NSearchCmdpublic boolean isExtension()
isExtension in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setExtension(boolean enable)
setExtension in interface net.thevpc.nuts.NSearchCmdpublic boolean isExec()
isExec in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setExec(boolean enable)
setExec in interface net.thevpc.nuts.NSearchCmdpublic boolean isNutsApplication()
isNutsApplication in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setNutsApplication(boolean enable)
setNutsApplication in interface net.thevpc.nuts.NSearchCmdpublic boolean isPlatformApplication()
isPlatformApplication in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setPlatformApplication(boolean enable)
setPlatformApplication in interface net.thevpc.nuts.NSearchCmdpublic boolean isLib()
isLib in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setLib(boolean enable)
setLib in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd sort(Comparator<?> comparator)
sort in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd copyFrom(net.thevpc.nuts.NSearchCmd other)
copyFrom in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd copyFrom(net.thevpc.nuts.NFetchCmd other)
copyFrom in interface net.thevpc.nuts.NSearchCmdpublic List<net.thevpc.nuts.NId> getIds()
getIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setIds(String... ids)
setIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setIds(net.thevpc.nuts.NId... ids)
setIds in interface net.thevpc.nuts.NSearchCmdpublic boolean isSorted()
isSorted in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setSorted(boolean sort)
setSorted in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NDefinitionFilter getDefinitionFilter()
getDefinitionFilter in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setDefinitionFilter(net.thevpc.nuts.NDefinitionFilter filter)
setDefinitionFilter in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd addDefinitionFilter(net.thevpc.nuts.NDefinitionFilter filter)
addDefinitionFilter in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NComparator getComparator()
getComparator in interface net.thevpc.nuts.NSearchCmdpublic boolean isDistinct()
isDistinct in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setDistinct(boolean distinct)
setDistinct in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd distinct()
distinct in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NVersion getTargetApiVersion()
getTargetApiVersion in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setTargetApiVersion(net.thevpc.nuts.NVersion targetApiVersion)
setTargetApiVersion in interface net.thevpc.nuts.NSearchCmdpublic boolean isBasePackage()
isBasePackage in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setBasePackage(boolean includeBasePackage)
setBasePackage in interface net.thevpc.nuts.NSearchCmdpublic boolean isLatest()
isLatest in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setLatest(boolean enable)
setLatest in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd latest()
latest in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NId> getResultIds()
getResultIds in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDependencies> getResultDependencies()
getResultDependencies in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDependency> getResultInlineDependencies()
getResultInlineDependencies in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDefinition> getResultDefinitions()
getResultDefinitions in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NDescriptor> getResultDescriptors()
getResultDescriptors in interface net.thevpc.nuts.NSearchCmdpublic ClassLoader getResultClassLoader()
getResultClassLoader in interface net.thevpc.nuts.NSearchCmdpublic ClassLoader getResultClassLoader(ClassLoader parent)
getResultClassLoader in interface net.thevpc.nuts.NSearchCmdpublic String getResultNutsPath()
getResultNutsPath in interface net.thevpc.nuts.NSearchCmdpublic String getResultClassPath()
getResultClassPath in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultPaths()
getResultPaths in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultPathNames()
getResultPathNames in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<Instant> getResultInstallDates()
getResultInstallDates in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultInstallUsers()
getResultInstallUsers in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> getResultInstallFolders()
getResultInstallFolders in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> getResultStoreLocations(net.thevpc.nuts.NStoreType location)
getResultStoreLocations in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String[]> getResultStrings(String[] columns)
getResultStrings in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultNames()
getResultNames in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultOs()
getResultOs in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.NExecutionEntry> getResultExecutionEntries()
getResultExecutionEntries in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultOsDist()
getResultOsDist in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultPackaging()
getResultPackaging in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultPlatform()
getResultPlatform in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultProfile()
getResultProfile in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultDesktopEnvironment()
getResultDesktopEnvironment in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.util.NStream<String> getResultArch()
getResultArch in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setId(String id)
setId in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd setId(net.thevpc.nuts.NId id)
setId in interface net.thevpc.nuts.NSearchCmdpublic SearchExecType getExecType()
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigureFirst in class DefaultNQueryBaseOptions<net.thevpc.nuts.NSearchCmd>public String toString()
toString in class DefaultNQueryBaseOptions<net.thevpc.nuts.NSearchCmd>public <T> net.thevpc.nuts.util.NIterator<T> runIterator()
public net.thevpc.nuts.elem.NElement getResultQueryPlan()
getResultQueryPlan in interface net.thevpc.nuts.NSearchCmdpublic net.thevpc.nuts.NSearchCmd run()
run in interface net.thevpc.nuts.NSearchCmdrun in interface net.thevpc.nuts.NWorkspaceCmdpublic net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NDefinition> getResultDefinitionIteratorBase()
protected <T> net.thevpc.nuts.util.NStream<T> buildCollectionResult(net.thevpc.nuts.util.NIterator<T> o)
protected String resolveFindIdBase()
public net.thevpc.nuts.util.NStream<String> getResultStatuses()
protected abstract net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> getResultIdIteratorBase(Boolean forceInlineDependencies)
protected net.thevpc.nuts.util.NStream<net.thevpc.nuts.NId> getResultIdsBase(boolean sort)
protected <T> net.thevpc.nuts.util.NStream<T> postProcessResult(net.thevpc.nuts.util.NIteratorBuilder<T> a)
protected net.thevpc.nuts.NSession getSearchSession()
protected net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> applyPrintDecoratorIterOfNutsId(net.thevpc.nuts.util.NIterator<net.thevpc.nuts.NId> curr,
boolean print)
Copyright © 2025 vpc open source initiative. All rights reserved.