hudson.plugins.tfs.commands
Class BriefHistoryCommand
java.lang.Object
hudson.plugins.tfs.commands.AbstractCommand
hudson.plugins.tfs.commands.BriefHistoryCommand
- All Implemented Interfaces:
- Command, ParseableCommand<java.util.List<ChangeSet>>
public class BriefHistoryCommand
- extends AbstractCommand
- implements ParseableCommand<java.util.List<ChangeSet>>
TF command for retrieving a brief history.
- Author:
- Erik Ramfelt
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BriefHistoryCommand
public BriefHistoryCommand(ServerConfigurationProvider provider,
java.lang.String projectPath,
java.util.Calendar fromTimestamp,
java.util.Calendar toTimestamp)
- Parameters:
projectPath - the project path to get the history forfromTimestamp - the timestamp to get history fromtoTimestamp - the timestamp to get history to
getArguments
public MaskedArgumentListBuilder getArguments()
- Returns the arguments for the command
- Specified by:
getArguments in interface Command
- Returns:
- arguments for the command.
parse
public java.util.List<ChangeSet> parse(java.io.Reader consoleReader)
throws java.text.ParseException,
java.io.IOException
- Parse the data in the reader and return a list of change sets.
- Specified by:
parse in interface ParseableCommand<java.util.List<ChangeSet>>
- Parameters:
consoleReader - console output
- Returns:
- a list of change sets from the console output; empty if none could be found.
- Throws:
java.text.ParseException - thrown if there was a problem parsing the data
java.io.IOException - thrown if there was a problem reading the data from the reader
Copyright © 2009. All Rights Reserved.