hudson.scm
Class IntegrityChangeLogSet

java.lang.Object
  extended by hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
      extended by hudson.scm.IntegrityChangeLogSet
All Implemented Interfaces:
java.lang.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
static class IntegrityChangeLogSet.IntegrityChangeLog
          The Entry class defines the metadata related to an individual file change
 
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
IntegrityChangeLogSet(hudson.model.AbstractBuild<?,?> build, java.util.List<IntegrityChangeLogSet.IntegrityChangeLog> logs, java.lang.String integrityURL)
          IntegrityChangeLogSet is a collection of all the changes for this build
 
Method Summary
 void addEntry(java.util.Collection<java.lang.String> affectedPaths, java.lang.String user, java.lang.String msg)
          Adds an entry to the change set.
 IntegrityChangeLogSet.IntegrityChangeLog addNewEntry(java.util.Collection<java.lang.String> affectedPaths, java.lang.String user, java.lang.String msg)
          Returns a new IntegrityChangeLog, which is already added to the list.
 java.lang.String getAuthor()
          Returns the author responsible for creating this Change Set
 java.lang.String getDate()
          Returns the date/time information of when this Change Set was created
 java.lang.String getIntegrityURL()
          Provides the Integrity URL for this Change Log Set
 java.lang.String getKind()
          Returns the type of this Change Log Set
 java.util.List<IntegrityChangeLogSet.IntegrityChangeLog> getLogs()
          Returns the list of Change Logs
 java.lang.String getMsg()
          Returns the comments associated with this Change Set
 java.lang.String getVersion()
          Returns the version information associated with this Change Set
 boolean isEmptySet()
          Overridden isEmptySet() implementation for the Change Log Set
 java.util.Iterator<IntegrityChangeLogSet.IntegrityChangeLog> iterator()
          Overridden Iterator implementation for the Integrity Change Logs in this Integrity Change Log Set
 void setAuthor(java.lang.String author)
          Sets the author responsible for creating this Change Set
 void setDate(java.lang.String date)
          Sets the date/time information of when this Change Set was created
 void setMsg(java.lang.String msg)
          Sets the comments associated this Change Set
 void setVersion(java.lang.String version)
          Sets the version information associated with this Change Set
 
Methods inherited from class hudson.scm.ChangeLogSet
createEmpty, getItems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IntegrityChangeLogSet

public IntegrityChangeLogSet(hudson.model.AbstractBuild<?,?> build,
                             java.util.List<IntegrityChangeLogSet.IntegrityChangeLog> logs,
                             java.lang.String integrityURL)
IntegrityChangeLogSet is a collection of all the changes for this build

Parameters:
build -
Method Detail

getLogs

public java.util.List<IntegrityChangeLogSet.IntegrityChangeLog> getLogs()
Returns the list of Change Logs

Specified by:
getLogs in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>

getKind

public java.lang.String getKind()
Returns the type of this Change Log Set

Overrides:
getKind in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>

getIntegrityURL

public java.lang.String getIntegrityURL()
Provides the Integrity URL for this Change Log Set

Returns:

iterator

public java.util.Iterator<IntegrityChangeLogSet.IntegrityChangeLog> iterator()
Overridden Iterator implementation for the Integrity Change Logs in this Integrity Change Log Set

Specified by:
iterator in interface java.lang.Iterable<IntegrityChangeLogSet.IntegrityChangeLog>
Overrides:
iterator in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
See Also:
Iterable.iterator()

isEmptySet

public boolean isEmptySet()
Overridden isEmptySet() implementation for the Change Log Set

Overrides:
isEmptySet in class hudson.scm.ChangeLogSet<IntegrityChangeLogSet.IntegrityChangeLog>
See Also:
ChangeLogSet.isEmptySet()

addEntry

public void addEntry(java.util.Collection<java.lang.String> affectedPaths,
                     java.lang.String user,
                     java.lang.String msg)
Adds an entry to the change set.


addNewEntry

public IntegrityChangeLogSet.IntegrityChangeLog addNewEntry(java.util.Collection<java.lang.String> affectedPaths,
                                                            java.lang.String user,
                                                            java.lang.String msg)
Returns a new IntegrityChangeLog, which is already added to the list.

Returns:
new IntegrityChangeLog instance

getVersion

public java.lang.String getVersion()
Returns the version information associated with this Change Set

Returns:

setVersion

public void setVersion(java.lang.String version)
Sets the version information associated with this Change Set

Parameters:
version -

getDate

public java.lang.String getDate()
Returns the date/time information of when this Change Set was created

Returns:

setDate

public void setDate(java.lang.String date)
Sets the date/time information of when this Change Set was created

Parameters:
date -

getAuthor

public java.lang.String getAuthor()
Returns the author responsible for creating this Change Set

Returns:

setAuthor

public void setAuthor(java.lang.String author)
Sets the author responsible for creating this Change Set

Parameters:
author -

getMsg

public java.lang.String getMsg()
Returns the comments associated with this Change Set

Returns:

setMsg

public void setMsg(java.lang.String msg)
Sets the comments associated this Change Set

Parameters:
msg -


Copyright © 2004-2011 Hudson. All Rights Reserved.