com.deluan.jenkins.plugins.rtc.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:
AcceptCommand, CompareCommand, ListCommand, VersionCommand

public interface ParseableCommand<T>
extends Command

Command that issues a scm command line client command and parses its output.

Author:
Erik Ramfelt

Method Summary
 T parse(BufferedReader reader)
          Returns data from parsing the command line client output in reader
 
Methods inherited from interface com.deluan.jenkins.plugins.rtc.commands.Command
getArguments
 

Method Detail

parse

T parse(BufferedReader reader)
        throws ParseException,
               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:
ParseException - thrown if there was a problem parsing the data
IOException - thrown if there was a problem reading the data from the reader


Copyright © 2004-2011. All Rights Reserved.