hudson.plugins.harvest
Class HarvestChangeLogSet
java.lang.Object
hudson.scm.ChangeLogSet<HarvestChangeLogEntry>
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 classes/interfaces inherited from class hudson.scm.ChangeLogSet |
hudson.scm.ChangeLogSet.AffectedFile, hudson.scm.ChangeLogSet.Entry |
| Fields inherited from class hudson.scm.ChangeLogSet |
build |
| 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 |
HarvestChangeLogSet
public HarvestChangeLogSet(hudson.model.AbstractBuild<?,?> build,
java.util.List<HarvestChangeLogEntry> logs)
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 tohistory - 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.