Klasse GitCommitTextDecorator

java.lang.Object
io.jenkins.plugins.forensics.util.CommitDecorator
io.jenkins.plugins.forensics.git.util.GitCommitTextDecorator
Bekannte direkte Unterklassen:
GitCommitDecorator

public class GitCommitTextDecorator extends io.jenkins.plugins.forensics.util.CommitDecorator
Renders a short version of the specified commit ID.
Autor:
Ullrich Hafner
  • Verschachtelte Klassen - Übersicht

    Von Klasse geerbte verschachtelte Klassen/Schnittstellen io.jenkins.plugins.forensics.util.CommitDecorator

    io.jenkins.plugins.forensics.util.CommitDecorator.NullDecorator
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
     
    asLink(org.eclipse.jgit.lib.ObjectId id)
    Obtains a link for the specified commit ID.
     
    asText(org.eclipse.jgit.lib.ObjectId id)
    Renders the commit ID as a human-readable text.

    Von Klasse geerbte Methoden io.jenkins.plugins.forensics.util.CommitDecorator

    getRawLink

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • GitCommitTextDecorator

      public GitCommitTextDecorator()
  • Methodendetails

    • asLink

      public String asLink(String id)
      Angegeben von:
      asLink in Klasse io.jenkins.plugins.forensics.util.CommitDecorator
    • asLink

      public String asLink(org.eclipse.jgit.lib.ObjectId id)
      Obtains a link for the specified commit ID.
      Parameter:
      id - the ID of the commit
      Gibt zurück:
      an HTML a tag that contains a link to the commit
    • asText

      public String asText(String id)
      Setzt außer Kraft:
      asText in Klasse io.jenkins.plugins.forensics.util.CommitDecorator
    • asText

      public String asText(org.eclipse.jgit.lib.ObjectId id)
      Renders the commit ID as a human-readable text.
      Parameter:
      id - the ID of the commit
      Gibt zurück:
      a commit ID as human-readable text