hudson.plugins.harvest
Class HarvestChangeLogSet

java.lang.Object
  extended by hudson.scm.ChangeLogSet<HarvestChangeLogEntry>
      extended by hudson.plugins.harvest.HarvestChangeLogSet
All Implemented Interfaces:
java.lang.Iterable<HarvestChangeLogEntry>

public class HarvestChangeLogSet
extends hudson.scm.ChangeLogSet<HarvestChangeLogEntry>

Author:
Gábor Lipták

Nested Class Summary
 
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
HarvestChangeLogSet(hudson.model.AbstractBuild<?,?> build, java.util.List<HarvestChangeLogEntry> logs)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<HarvestChangeLogEntry> getLogs()
           
 int hashCode()
           
 boolean isEmptySet()
           
 java.util.Iterator<HarvestChangeLogEntry> iterator()
           
static hudson.scm.ChangeLogSet<HarvestChangeLogEntry> parse(hudson.model.AbstractBuild build, java.io.File changeLogFile)
           
protected static HarvestChangeLogSet parse(hudson.model.AbstractBuild build, java.io.InputStream inputStream)
           
static void saveToChangeLog(java.io.OutputStream outputStream, hudson.scm.ChangeLogSet<HarvestChangeLogEntry> history)
          Stores the history objects to the output stream as xml
 java.lang.String toString()
           
 
Methods inherited from class hudson.scm.ChangeLogSet
createEmpty, getItems, getKind
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HarvestChangeLogSet

public HarvestChangeLogSet(hudson.model.AbstractBuild<?,?> build,
                           java.util.List<HarvestChangeLogEntry> logs)
Method Detail

isEmptySet

public boolean isEmptySet()
Specified by:
isEmptySet in class hudson.scm.ChangeLogSet<HarvestChangeLogEntry>

iterator

public java.util.Iterator<HarvestChangeLogEntry> iterator()

getLogs

public java.util.List<HarvestChangeLogEntry> getLogs()

parse

public static hudson.scm.ChangeLogSet<HarvestChangeLogEntry> parse(hudson.model.AbstractBuild build,
                                                                   java.io.File changeLogFile)
                                                            throws java.io.IOException,
                                                                   org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

parse

protected static HarvestChangeLogSet parse(hudson.model.AbstractBuild build,
                                           java.io.InputStream inputStream)
                                    throws java.io.IOException,
                                           org.xml.sax.SAXException
Throws:
java.io.IOException
org.xml.sax.SAXException

saveToChangeLog

public static void saveToChangeLog(java.io.OutputStream outputStream,
                                   hudson.scm.ChangeLogSet<HarvestChangeLogEntry> history)
                            throws java.io.IOException
Stores the history objects to the output stream as xml

Parameters:
outputStream - the stream to write to
history - the history objects to store
Throws:
java.io.IOException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2011. All Rights Reserved.