hudson.plugins.tfs.model
Class Project

java.lang.Object
  extended by hudson.plugins.tfs.model.Project

public class Project
extends java.lang.Object


Constructor Summary
Project(Server server, java.lang.String projectPath)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<ChangeSet> getBriefHistory(java.util.Calendar fromTimestamp, java.util.Calendar toTimestamp)
          Returns a list of change sets not containing the modified items.
 java.util.List<ChangeSet> getDetailedHistory(java.util.Calendar fromTimestamp, java.util.Calendar toTimestamp)
          Returns a list of change sets containing modified items.
 void getFiles(java.lang.String localPath)
          Gets all files from server.
 void getFiles(java.lang.String localPath, java.lang.String versionSpec)
          Gets all files from server.
 java.lang.String getProjectPath()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Project

public Project(Server server,
               java.lang.String projectPath)
Method Detail

getProjectPath

public java.lang.String getProjectPath()

getDetailedHistory

public java.util.List<ChangeSet> getDetailedHistory(java.util.Calendar fromTimestamp,
                                                    java.util.Calendar toTimestamp)
                                             throws java.io.IOException,
                                                    java.lang.InterruptedException,
                                                    java.text.ParseException
Returns a list of change sets containing modified items.

Parameters:
fromTimestamp - the timestamp to get history from
toTimestamp - the timestamp to get history to
Returns:
a list of change sets
Throws:
java.io.IOException
java.lang.InterruptedException
java.text.ParseException

getBriefHistory

public java.util.List<ChangeSet> getBriefHistory(java.util.Calendar fromTimestamp,
                                                 java.util.Calendar toTimestamp)
                                          throws java.io.IOException,
                                                 java.lang.InterruptedException,
                                                 java.text.ParseException
Returns a list of change sets not containing the modified items.

Parameters:
fromTimestamp - the timestamp to get history from
toTimestamp - the timestamp to get history to
Returns:
a list of change sets
Throws:
java.io.IOException
java.lang.InterruptedException
java.text.ParseException

getFiles

public void getFiles(java.lang.String localPath)
              throws java.io.IOException,
                     java.lang.InterruptedException
Gets all files from server.

Parameters:
localPath - the local path to get all files into
Throws:
java.io.IOException
java.lang.InterruptedException

getFiles

public void getFiles(java.lang.String localPath,
                     java.lang.String versionSpec)
              throws java.io.IOException,
                     java.lang.InterruptedException
Gets all files from server.

Parameters:
localPath - the local path to get all files into
versionSpec - the version spec to use when getting the files
Throws:
java.io.IOException
java.lang.InterruptedException

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2011. All Rights Reserved.