hudson.plugins.starteam
Class StarTeamChangeLogBuilder

java.lang.Object
  extended by hudson.plugins.starteam.StarTeamChangeLogBuilder

public final class StarTeamChangeLogBuilder
extends java.lang.Object

Builds changelog.xml for StarTeamSCM. Remove use of deprecated classes.

Author:
Eric D. Broyles, Steve Favez

Constructor Summary
StarTeamChangeLogBuilder()
           
 
Method Summary
static boolean writeChangeLog(java.io.OutputStream aOutputStream, java.util.Collection<com.starbase.starteam.File> aChanges, StarTeamConnection aConnection)
          Stores the history objects to the output stream as xml.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StarTeamChangeLogBuilder

public StarTeamChangeLogBuilder()
Method Detail

writeChangeLog

public static boolean writeChangeLog(java.io.OutputStream aOutputStream,
                                     java.util.Collection<com.starbase.starteam.File> aChanges,
                                     StarTeamConnection aConnection)
                              throws java.io.IOException
Stores the history objects to the output stream as xml.

Current version supports a format like the following:

 <?xml version='1.0' encoding='UTF-8'?>
   <changelog>
         <entry>
                 <revisionNumber>73</revisionNumber>
                 <date>2008-06-23 09:46:27</date>
                 <message>Checkin message</message>
                 <user>Author Name</user>
         </entry>
   </changelog>
 
 

Parameters:
aOutputStream - the stream to write to
aChanges - the history objects to store
aConnection - the connection to the StarTeam Server (required to determine the name of the user who made changes)
Throws:
java.io.IOException


Copyright © 2007-2010. All Rights Reserved.