Interface GitVersionTag

All Superinterfaces:
Resource
All Known Implementing Classes:
DefaultGitVersionTag

public interface GitVersionTag extends Resource
A resource that represents a Git version tag. Tags in Git are global, i.e. they apply to all projects. Nevertheless, when using independent versions for different projects, each project has its own tag.
  • Method Details

    • of

      static GitVersionTag of(Project project, String tag)
      Creates a new Git version tag.
      Parameters:
      project - the project
      tag - the tag
      Returns:
      the project version
    • project

      Returns the project the tag is associated with.
      Returns:
      the project
    • tag

      Returns the tag.
      Returns:
      the tag