Package net.kyori.indra.git
Class QueryTags.Names
java.lang.Object
net.kyori.indra.git.RepositoryValueSource<V,P>
net.kyori.indra.git.MappedRepositoryValueSource<I,V,RepositoryValueSource.Parameters>
net.kyori.indra.git.MappedRepositoryValueSource.Parameterless<List<? extends org.eclipse.jgit.lib.Ref>,V>
- All Implemented Interfaces:
org.gradle.api.provider.ValueSource<List<String>,RepositoryValueSource.Parameters>
Queries the
names of the tags.-
Nested Class Summary
Nested classes/interfaces inherited from class net.kyori.indra.git.QueryTags
QueryTags.NamesNested classes/interfaces inherited from class net.kyori.indra.git.MappedRepositoryValueSource
MappedRepositoryValueSource.Parameterless<I,V> Nested classes/interfaces inherited from class net.kyori.indra.git.RepositoryValueSource
RepositoryValueSource.Parameters -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.kyori.indra.git.QueryTags
getRawValueMethods inherited from class net.kyori.indra.git.MappedRepositoryValueSource
obtainMethods inherited from class net.kyori.indra.git.RepositoryValueSource
obtainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gradle.api.provider.ValueSource
getParameters
-
Constructor Details
-
Names
public Names()
-
-
Method Details
-
mapValue
@NotNull protected @NotNull List<String> mapValue(@NotNull @NotNull org.eclipse.jgit.api.Git git, @NotNull @NotNull List<? extends org.eclipse.jgit.lib.Ref> value) Description copied from class:MappedRepositoryValueSourceMaps the raw value to the final value type.- Specified by:
mapValuein classMappedRepositoryValueSource<List<? extends org.eclipse.jgit.lib.Ref>,List<String>, RepositoryValueSource.Parameters> - Parameters:
git- the git repositoryvalue- the raw value- Returns:
- the mapped value, or
null
-