hudson.plugins.tfs.commands
Interface ParseableCommand<T>

Type Parameters:
T - the return type when parsing the output from the command line client.
All Superinterfaces:
Command
All Known Implementing Classes:
BriefHistoryCommand, DetailedHistoryCommand, GetFilesToWorkFolderCommand, GetWorkspaceMappingsCommand, ListWorkspacesCommand

public interface ParseableCommand<T>
extends Command

Command that issues a tf command line client command.

Author:
Erik Ramfelt

Method Summary
 T parse(java.io.Reader reader)
          Returns data from parsing the command line client output in reader
 
Methods inherited from interface hudson.plugins.tfs.commands.Command
getArguments
 

Method Detail

parse

T parse(java.io.Reader reader)
        throws java.text.ParseException,
               java.io.IOException
Returns data from parsing the command line client output in reader

Parameters:
reader - reader containing the output from the command line client
Returns:
parsed data
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 © 2010. All Rights Reserved.