public abstract class AbstractNSearch extends DefaultNQueryBaseOptions<net.thevpc.nuts.command.NSearch> implements net.thevpc.nuts.command.NSearch
| Modifier and Type | Field and Description |
|---|---|
protected net.thevpc.nuts.util.NComparator |
comparator |
protected net.thevpc.nuts.artifact.NDefinitionFilter |
definitionFilter |
protected boolean |
describe |
protected boolean |
distinct |
protected SearchExecType |
execType |
protected List<net.thevpc.nuts.artifact.NId> |
ids |
protected boolean |
ignoreCurrentEnvironment |
protected boolean |
includeBasePackage |
protected boolean |
latest |
protected boolean |
sorted |
protected net.thevpc.nuts.artifact.NVersion |
targetApiVersion |
dependencyFilter| Constructor and Description |
|---|
AbstractNSearch() |
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.command.NSearch |
addDefinitionFilter(net.thevpc.nuts.artifact.NDefinitionFilter filter) |
net.thevpc.nuts.command.NSearch |
addId(net.thevpc.nuts.artifact.NId id) |
net.thevpc.nuts.command.NSearch |
addId(String id) |
net.thevpc.nuts.command.NSearch |
addIds(List<net.thevpc.nuts.artifact.NId> value) |
net.thevpc.nuts.command.NSearch |
addIds(net.thevpc.nuts.artifact.NId... value) |
net.thevpc.nuts.command.NSearch |
addIds(String... values) |
protected net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NId> |
applyPrintDecoratorIterOfNutsId(net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NId> curr,
boolean print) |
net.thevpc.nuts.command.NSearch |
basePackage(boolean includeBasePackage) |
protected <T> net.thevpc.nuts.util.NStream<T> |
buildCollectionResult(net.thevpc.nuts.util.NIterator<T> o) |
net.thevpc.nuts.command.NSearch |
clearIds() |
net.thevpc.nuts.command.NSearch |
companion(boolean enable) |
net.thevpc.nuts.util.NComparator |
comparator() |
boolean |
configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine) |
net.thevpc.nuts.command.NSearch |
copyFrom(net.thevpc.nuts.command.NFetch other) |
net.thevpc.nuts.command.NSearch |
copyFrom(net.thevpc.nuts.command.NSearch other) |
net.thevpc.nuts.artifact.NDefinitionFilter |
definitionFilter() |
net.thevpc.nuts.command.NSearch |
definitionFilter(net.thevpc.nuts.artifact.NDefinitionFilter filter) |
net.thevpc.nuts.command.NSearch |
distinct(boolean distinct) |
SearchExecType |
execType() |
net.thevpc.nuts.command.NSearch |
executable(boolean enable) |
net.thevpc.nuts.command.NSearch |
extension(boolean enable) |
net.thevpc.nuts.util.NStream<String> |
getResultArch() |
ClassLoader |
getResultClassLoader() |
ClassLoader |
getResultClassLoader(ClassLoader parent) |
String |
getResultClassPath() |
net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NDefinition> |
getResultDefinitionIteratorBase() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDefinition> |
getResultDefinitions() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDependencies> |
getResultDependencies() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDescriptor> |
getResultDescriptors() |
net.thevpc.nuts.util.NStream<String> |
getResultDesktopEnvironment() |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.command.NExecutionEntry> |
getResultExecutionEntries() |
protected abstract net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NId> |
getResultIdIteratorBase(Boolean forceInlineDependencies) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NId> |
getResultIds() |
protected net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NId> |
getResultIdsBase(boolean sort) |
net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.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.platform.NStoreType storeType) |
net.thevpc.nuts.util.NStream<String[]> |
getResultStrings(String[] columns) |
protected net.thevpc.nuts.core.NSession |
getSearchSession() |
net.thevpc.nuts.command.NSearch |
id(net.thevpc.nuts.artifact.NId id) |
net.thevpc.nuts.command.NSearch |
id(String id) |
List<net.thevpc.nuts.artifact.NId> |
ids() |
net.thevpc.nuts.command.NSearch |
ids(List<net.thevpc.nuts.artifact.NId> ids) |
net.thevpc.nuts.command.NSearch |
ids(net.thevpc.nuts.artifact.NId... ids) |
net.thevpc.nuts.command.NSearch |
ids(String... ids) |
net.thevpc.nuts.command.NSearch |
ignoreCurrentEnvironment(boolean ignoreCurrentEnvironment) |
boolean |
isBasePackage() |
boolean |
isCompanion() |
boolean |
isDistinct() |
boolean |
isExecutable() |
boolean |
isExtension() |
boolean |
isIgnoreCurrentEnvironment() |
boolean |
isLatest() |
boolean |
isLib() |
boolean |
isNutsApplication() |
boolean |
isPlatformApplication() |
boolean |
isRuntime() |
boolean |
isSorted() |
net.thevpc.nuts.command.NSearch |
latest(boolean enable) |
net.thevpc.nuts.command.NSearch |
nutsApplication(boolean enable) |
net.thevpc.nuts.command.NSearch |
platformApplication(boolean enable) |
protected <T> net.thevpc.nuts.util.NStream<T> |
postProcessResult(net.thevpc.nuts.util.NIteratorBuilder<T> a) |
net.thevpc.nuts.command.NSearch |
removeId(net.thevpc.nuts.artifact.NId id) |
net.thevpc.nuts.command.NSearch |
removeId(String id) |
protected String |
resolveFindIdBase() |
net.thevpc.nuts.command.NSearch |
run() |
<T> net.thevpc.nuts.util.NIterator<T> |
runIterator() |
net.thevpc.nuts.command.NSearch |
runtime(boolean enable) |
net.thevpc.nuts.command.NSearch |
setLib(boolean enable) |
net.thevpc.nuts.command.NSearch |
sort(Comparator<?> comparator) |
net.thevpc.nuts.command.NSearch |
sorted(boolean sort) |
net.thevpc.nuts.artifact.NVersion |
targetApiVersion() |
net.thevpc.nuts.command.NSearch |
targetApiVersion(net.thevpc.nuts.artifact.NVersion targetApiVersion) |
String |
toString() |
addDependencyFilter, addRepositoryFilter, copyFromDefaultNQueryBaseOptions, dependencyFilter, dependencyFilter, dependencyFilter, expireTime, expireTime, failFast, fetchStrategy, fetchStrategy, getDisplayOptions, inlineDependencies, isFailFast, isInlineDependencies, repositoryFilter, repositoryFilter, transitive, transitive_LOG, configure, copyFromWorkspaceCommandBase, getCommandName, invalidateResultclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddDependencyFilter, addRepositoryFilter, configure, copy, dependencyFilter, dependencyFilter, dependencyFilter, expireTime, expireTime, failFast, fetchStrategy, fetchStrategy, inlineDependencies, isFailFast, isInlineDependencies, of, of, of, repositoryFilter, repositoryFilter, toFetch, transitive, transitiveprotected final List<net.thevpc.nuts.artifact.NId> ids
protected net.thevpc.nuts.util.NComparator comparator
protected net.thevpc.nuts.artifact.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.artifact.NVersion targetApiVersion
public boolean isIgnoreCurrentEnvironment()
isIgnoreCurrentEnvironment in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch ignoreCurrentEnvironment(boolean ignoreCurrentEnvironment)
ignoreCurrentEnvironment in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch clearIds()
clearIds in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addId(String id)
addId in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addId(net.thevpc.nuts.artifact.NId id)
addId in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addIds(String... values)
addIds in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addIds(net.thevpc.nuts.artifact.NId... value)
addIds in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addIds(List<net.thevpc.nuts.artifact.NId> value)
addIds in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch removeId(String id)
removeId in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch removeId(net.thevpc.nuts.artifact.NId id)
removeId in interface net.thevpc.nuts.command.NSearchpublic boolean isRuntime()
isRuntime in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch runtime(boolean enable)
runtime in interface net.thevpc.nuts.command.NSearchpublic boolean isCompanion()
isCompanion in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch companion(boolean enable)
companion in interface net.thevpc.nuts.command.NSearchpublic boolean isExtension()
isExtension in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch extension(boolean enable)
extension in interface net.thevpc.nuts.command.NSearchpublic boolean isExecutable()
isExecutable in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch executable(boolean enable)
executable in interface net.thevpc.nuts.command.NSearchpublic boolean isNutsApplication()
isNutsApplication in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch nutsApplication(boolean enable)
nutsApplication in interface net.thevpc.nuts.command.NSearchpublic boolean isPlatformApplication()
isPlatformApplication in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch platformApplication(boolean enable)
platformApplication in interface net.thevpc.nuts.command.NSearchpublic boolean isLib()
isLib in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch setLib(boolean enable)
setLib in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch sort(Comparator<?> comparator)
sort in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch copyFrom(net.thevpc.nuts.command.NSearch other)
copyFrom in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch copyFrom(net.thevpc.nuts.command.NFetch other)
copyFrom in interface net.thevpc.nuts.command.NSearchpublic List<net.thevpc.nuts.artifact.NId> ids()
ids in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch ids(String... ids)
ids in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch ids(net.thevpc.nuts.artifact.NId... ids)
ids in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch ids(List<net.thevpc.nuts.artifact.NId> ids)
ids in interface net.thevpc.nuts.command.NSearchpublic boolean isSorted()
isSorted in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch sorted(boolean sort)
sorted in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.artifact.NDefinitionFilter definitionFilter()
definitionFilter in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch definitionFilter(net.thevpc.nuts.artifact.NDefinitionFilter filter)
definitionFilter in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch addDefinitionFilter(net.thevpc.nuts.artifact.NDefinitionFilter filter)
addDefinitionFilter in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NComparator comparator()
comparator in interface net.thevpc.nuts.command.NSearchpublic boolean isDistinct()
isDistinct in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch distinct(boolean distinct)
distinct in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.artifact.NVersion targetApiVersion()
targetApiVersion in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch targetApiVersion(net.thevpc.nuts.artifact.NVersion targetApiVersion)
targetApiVersion in interface net.thevpc.nuts.command.NSearchpublic boolean isBasePackage()
isBasePackage in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch basePackage(boolean includeBasePackage)
basePackage in interface net.thevpc.nuts.command.NSearchpublic boolean isLatest()
isLatest in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch latest(boolean enable)
latest in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NId> getResultIds()
getResultIds in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDependencies> getResultDependencies()
getResultDependencies in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDependency> getResultInlineDependencies()
getResultInlineDependencies in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDefinition> getResultDefinitions()
getResultDefinitions in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NDescriptor> getResultDescriptors()
getResultDescriptors in interface net.thevpc.nuts.command.NSearchpublic ClassLoader getResultClassLoader()
getResultClassLoader in interface net.thevpc.nuts.command.NSearchpublic ClassLoader getResultClassLoader(ClassLoader parent)
getResultClassLoader in interface net.thevpc.nuts.command.NSearchpublic String getResultNutsPath()
getResultNutsPath in interface net.thevpc.nuts.command.NSearchpublic String getResultClassPath()
getResultClassPath in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultPaths()
getResultPaths in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultPathNames()
getResultPathNames in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<Instant> getResultInstallDates()
getResultInstallDates in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultInstallUsers()
getResultInstallUsers in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> getResultInstallFolders()
getResultInstallFolders in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.io.NPath> getResultStoreLocations(net.thevpc.nuts.platform.NStoreType storeType)
getResultStoreLocations in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String[]> getResultStrings(String[] columns)
getResultStrings in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultNames()
getResultNames in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultOs()
getResultOs in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<net.thevpc.nuts.command.NExecutionEntry> getResultExecutionEntries()
getResultExecutionEntries in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultOsDist()
getResultOsDist in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultPackaging()
getResultPackaging in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultPlatform()
getResultPlatform in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultProfile()
getResultProfile in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultDesktopEnvironment()
getResultDesktopEnvironment in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.util.NStream<String> getResultArch()
getResultArch in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch id(String id)
id in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch id(net.thevpc.nuts.artifact.NId id)
id in interface net.thevpc.nuts.command.NSearchpublic SearchExecType execType()
public boolean configureFirst(net.thevpc.nuts.cmdline.NCmdLine cmdLine)
configureFirst in interface net.thevpc.nuts.cmdline.NCmdLineConfigurableconfigureFirst in class DefaultNQueryBaseOptions<net.thevpc.nuts.command.NSearch>public String toString()
toString in class DefaultNQueryBaseOptions<net.thevpc.nuts.command.NSearch>public <T> net.thevpc.nuts.util.NIterator<T> runIterator()
public net.thevpc.nuts.elem.NElement getResultQueryPlan()
getResultQueryPlan in interface net.thevpc.nuts.command.NSearchpublic net.thevpc.nuts.command.NSearch run()
run in interface net.thevpc.nuts.command.NSearchrun in interface net.thevpc.nuts.core.NWorkspaceCmdpublic net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.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.artifact.NId> getResultIdIteratorBase(Boolean forceInlineDependencies)
protected net.thevpc.nuts.util.NStream<net.thevpc.nuts.artifact.NId> getResultIdsBase(boolean sort)
protected <T> net.thevpc.nuts.util.NStream<T> postProcessResult(net.thevpc.nuts.util.NIteratorBuilder<T> a)
protected net.thevpc.nuts.core.NSession getSearchSession()
protected net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NId> applyPrintDecoratorIterOfNutsId(net.thevpc.nuts.util.NIterator<net.thevpc.nuts.artifact.NId> curr,
boolean print)
Copyright © 2026 vpc open source initiative. All rights reserved.