hudson.plugins.clearcase
Class ClearCaseChangeLogSet
java.lang.Object
hudson.scm.ChangeLogSet<ClearCaseChangeLogEntry>
hudson.plugins.clearcase.ClearCaseChangeLogSet
- All Implemented Interfaces:
- java.lang.Iterable<ClearCaseChangeLogEntry>
public class ClearCaseChangeLogSet
- extends hudson.scm.ChangeLogSet<ClearCaseChangeLogEntry>
ClearCase change log set.
- Author:
- Erik Ramfelt
| 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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClearCaseChangeLogSet
public ClearCaseChangeLogSet(hudson.model.AbstractBuild<?,?> build,
java.util.List<ClearCaseChangeLogEntry> logs)
isEmptySet
public boolean isEmptySet()
- Specified by:
isEmptySet in class hudson.scm.ChangeLogSet<ClearCaseChangeLogEntry>
iterator
public java.util.Iterator<ClearCaseChangeLogEntry> iterator()
getLogs
public java.util.List<ClearCaseChangeLogEntry> getLogs()
parse
public static ClearCaseChangeLogSet parse(hudson.model.AbstractBuild build,
java.io.File changeLogFile)
throws java.io.IOException,
org.xml.sax.SAXException
- Parses the change log file and returns a ClearCase change log set.
- Parameters:
build - the build for the change logchangeLogFile - the change log file
- Returns:
- the change log set
- Throws:
java.io.IOException
org.xml.sax.SAXException
saveToChangeLog
public static void saveToChangeLog(java.io.OutputStream outputStream,
java.util.List<ClearCaseChangeLogEntry> 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
escapeForXml
public static java.lang.String escapeForXml(java.lang.String string)
Copyright © 2009. All Rights Reserved.