Package net.kyori.indra.git
package net.kyori.indra.git
-
ClassDescriptionA plugin that exposes any git repository that might be in a project.An extension exposing git information.MappedRepositoryValueSource<I,
V, P extends RepositoryValueSource.Parameters> ARepositoryValueSourcethat maps an intermediary value type to a final value type.AMappedRepositoryValueSourcethat does not require any additional parameters.QueryBranch<V>AMappedRepositoryValueSourcethat obtains values from the current branch, ornullif the project is not in a git repository or is checked out to a detachedHEAD.Queries thenameof the current branch ref.QueryHeadTag<V>AMappedRepositoryValueSourcethat obtains values from the tag pointing to the commit checked out asHEAD, ornullif the project is not in a git repository or is not checked out to a tagQueries thenameof the head tag ref.QueryTags<V>AMappedRepositoryValueSourcethat queries the git repository for a list of tags.Queries thenamesof the tags.RepositoryValueSource<V,P extends RepositoryValueSource.Parameters> An implementation ofValueSourcewhich queries the project's git repository for info.A value source that requires no extra parameters.