hudson.scm
Class SubversionChangeLogSet

java.lang.Object
  extended by hudson.scm.ChangeLogSet<SubversionChangeLogSet.LogEntry>
      extended by hudson.scm.SubversionChangeLogSet
All Implemented Interfaces:
Iterable<SubversionChangeLogSet.LogEntry>

public final class SubversionChangeLogSet
extends hudson.scm.ChangeLogSet<SubversionChangeLogSet.LogEntry>

ChangeLogSet for Subversion.

Author:
Kohsuke Kawaguchi, Nikita Levyankov

Nested Class Summary
static class SubversionChangeLogSet.LogEntry
          One commit.
static class SubversionChangeLogSet.Path
          A file in a commit.
static class SubversionChangeLogSet.RevisionInfo
           
 
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
 
Method Summary
 String getKind()
           
 List<SubversionChangeLogSet.LogEntry> getLogs()
           
 Map<String,Long> getRevisionMap()
           
 List<SubversionChangeLogSet.RevisionInfo> getRevisions()
           
protected  List<SubversionChangeLogSet.LogEntry> prepareChangeLogEntries(List<SubversionChangeLogSet.LogEntry> items)
           
protected static List<SubversionChangeLogSet.LogEntry> removeDuplicatedEntries(List<SubversionChangeLogSet.LogEntry> items)
          Removes duplicate entries, ie those coming form svn:externals.
 
Methods inherited from class hudson.scm.ChangeLogSet
createEmpty, getBuild, getItems, isEmptySet, iterator
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogs

public List<SubversionChangeLogSet.LogEntry> getLogs()
Specified by:
getLogs in class hudson.scm.ChangeLogSet<SubversionChangeLogSet.LogEntry>

getKind

public String getKind()
Overrides:
getKind in class hudson.scm.ChangeLogSet<SubversionChangeLogSet.LogEntry>

getRevisionMap

public Map<String,Long> getRevisionMap()
                                throws IOException
Throws:
IOException

getRevisions

@Exported
public List<SubversionChangeLogSet.RevisionInfo> getRevisions()
                                                       throws IOException
Throws:
IOException

prepareChangeLogEntries

protected List<SubversionChangeLogSet.LogEntry> prepareChangeLogEntries(List<SubversionChangeLogSet.LogEntry> items)

removeDuplicatedEntries

protected static List<SubversionChangeLogSet.LogEntry> removeDuplicatedEntries(List<SubversionChangeLogSet.LogEntry> items)
Removes duplicate entries, ie those coming form svn:externals.

Parameters:
items - list of items
Returns:
filtered list without duplicated entries


Copyright © 2004-2013 Hudson. All Rights Reserved.