Package hudson.scm

Class IntegrityChangeLogSet

java.lang.Object
hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
hudson.scm.IntegrityChangeLogSet
All Implemented Interfaces:
Iterable<IntegrityChangeLogSet.IntegrityChangeLog>

public class IntegrityChangeLogSet extends hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
This class is a representation of all the Changes that were performed between builds. At this point we're essentially skipping the Change Set part and only working with the entries within the Change Set, i.e. Change Logs. I suspect at some future time when we've got better API access to the actual Change Packages that went into a particular build, then we can revamp this whole Change Log Set reporting capabilities
  • Constructor Details

    • IntegrityChangeLogSet

      public IntegrityChangeLogSet(hudson.model.Run<?,?> run, hudson.scm.RepositoryBrowser<?> browser, List<IntegrityChangeLogSet.IntegrityChangeLog> logs, String integrityURL)
      IntegrityChangeLogSet is a collection of all the changes for this build
      Parameters:
      build -
  • Method Details

    • getLogs

      Returns the list of Change Logs
    • getKind

      public String getKind()
      Returns the type of this Change Log Set
      Overrides:
      getKind in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
    • getIntegrityURL

      public String getIntegrityURL()
      Provides the Integrity URL for this Change Log Set
      Returns:
    • iterator

      Overridden Iterator implementation for the Integrity Change Logs in this Integrity Change Log Set
      See Also:
    • isEmptySet

      public boolean isEmptySet()
      Overridden isEmptySet() implementation for the Change Log Set
      Specified by:
      isEmptySet in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
      See Also:
      • ChangeLogSet.isEmptySet()
    • addEntry

      public void addEntry(List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String user, String msg)
      Adds an entry to the change set.
    • addNewEntry

      Returns a new IntegrityChangeLog, which is already added to the list.
      Returns:
      new IntegrityChangeLog instance
    • getVersion

      public String getVersion()
      Returns the version information associated with this Change Set
      Returns:
    • setVersion

      public void setVersion(String version)
      Sets the version information associated with this Change Set
      Parameters:
      version -
    • getDate

      public String getDate()
      Returns the date/time information of when this Change Set was created
      Returns:
    • setDate

      public void setDate(String date)
      Sets the date/time information of when this Change Set was created
      Parameters:
      date -
    • getAuthor

      public String getAuthor()
      Returns the author responsible for creating this Change Set
      Returns:
    • setAuthor

      public void setAuthor(String author)
      Sets the author responsible for creating this Change Set
      Parameters:
      author -
    • getMsg

      public String getMsg()
      Returns the comments associated with this Change Set
      Returns:
    • setMsg

      public void setMsg(String msg)
      Sets the comments associated this Change Set
      Parameters:
      msg -