hudson.plugins.harvest
Class HarvestChangeLogSet

java.lang.Object
  extended by hudson.scm.ChangeLogSet<HarvestChangeLogEntry>
      extended by hudson.plugins.harvest.HarvestChangeLogSet
All Implemented Interfaces:
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, List<HarvestChangeLogEntry> logs)
           
 
Method Summary
 boolean equals(Object obj)
           
 List<HarvestChangeLogEntry> getLogs()
           
 int hashCode()
           
 boolean isEmptySet()
           
 Iterator<HarvestChangeLogEntry> iterator()
           
static hudson.scm.ChangeLogSet<HarvestChangeLogEntry> parse(hudson.model.AbstractBuild<?,?> build, File changeLogFile)
           
protected static HarvestChangeLogSet parse(hudson.model.AbstractBuild<?,?> build, InputStream inputStream)
           
static void saveToChangeLog(OutputStream outputStream, hudson.scm.ChangeLogSet<HarvestChangeLogEntry> history)
          Stores the history objects to the output stream as xml
 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,
                           List<HarvestChangeLogEntry> logs)
Method Detail

isEmptySet

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

iterator

public Iterator<HarvestChangeLogEntry> iterator()

getLogs

public List<HarvestChangeLogEntry> getLogs()

parse

public static hudson.scm.ChangeLogSet<HarvestChangeLogEntry> parse(hudson.model.AbstractBuild<?,?> build,
                                                                   File changeLogFile)
                                                            throws IOException,
                                                                   SAXException
Throws:
IOException
SAXException

parse

protected static HarvestChangeLogSet parse(hudson.model.AbstractBuild<?,?> build,
                                           InputStream inputStream)
                                    throws IOException,
                                           SAXException
Throws:
IOException
SAXException

saveToChangeLog

public static void saveToChangeLog(OutputStream outputStream,
                                   hudson.scm.ChangeLogSet<HarvestChangeLogEntry> history)
                            throws 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:
IOException

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2004-2011. All Rights Reserved.