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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe Entry class defines the metadata related to an individual file changestatic classA file in a commit.Nested classes/interfaces inherited from class hudson.scm.ChangeLogSet
hudson.scm.ChangeLogSet.AffectedFile, hudson.scm.ChangeLogSet.Entry -
Field Summary
Fields inherited from class hudson.scm.ChangeLogSet
build -
Constructor Summary
ConstructorsConstructorDescriptionIntegrityChangeLogSet(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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEntry(List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String user, String msg) Adds an entry to the change set.addNewEntry(List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String user, String msg) Returns a new IntegrityChangeLog, which is already added to the list.Returns the author responsible for creating this Change SetgetDate()Returns the date/time information of when this Change Set was createdProvides the Integrity URL for this Change Log SetgetKind()Returns the type of this Change Log SetgetLogs()Returns the list of Change LogsgetMsg()Returns the comments associated with this Change SetReturns the version information associated with this Change SetbooleanOverridden isEmptySet() implementation for the Change Log Setiterator()Overridden Iterator implementation for the Integrity Change Logs in this Integrity Change Log SetvoidSets the author responsible for creating this Change SetvoidSets the date/time information of when this Change Set was createdvoidSets the comments associated this Change SetvoidsetVersion(String version) Sets the version information associated with this Change SetMethods inherited from class hudson.scm.ChangeLogSet
createEmpty, createEmpty, getBrowser, getItems, getRunMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
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
Returns the type of this Change Log Set- Overrides:
getKindin classhudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
-
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:
isEmptySetin classhudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>- See Also:
-
addEntry
public void addEntry(List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String user, String msg) Adds an entry to the change set. -
addNewEntry
public IntegrityChangeLogSet.IntegrityChangeLog addNewEntry(List<IntegrityChangeLogSet.IntegrityChangeLogPath> affectedPaths, String user, String msg) Returns a new IntegrityChangeLog, which is already added to the list.- Returns:
- new IntegrityChangeLog instance
-
getVersion
Returns the version information associated with this Change Set- Returns:
-
setVersion
Sets the version information associated with this Change Set- Parameters:
version-
-
getDate
Returns the date/time information of when this Change Set was created- Returns:
-
setDate
Sets the date/time information of when this Change Set was created- Parameters:
date-
-
getAuthor
Returns the author responsible for creating this Change Set- Returns:
-
setAuthor
Sets the author responsible for creating this Change Set- Parameters:
author-
-
getMsg
Returns the comments associated with this Change Set- Returns:
-
setMsg
Sets the comments associated this Change Set- Parameters:
msg-
-