com.deluan.jenkins.plugins.rtc.commands
Class VersionCommand

java.lang.Object
  extended by com.deluan.jenkins.plugins.rtc.commands.AbstractCommand
      extended by com.deluan.jenkins.plugins.rtc.commands.VersionCommand
All Implemented Interfaces:
Command, ParseableCommand<String>

public class VersionCommand
extends AbstractCommand
implements ParseableCommand<String>

Author:
deluan

Constructor Summary
VersionCommand(JazzConfiguration configurationProvider)
           
 
Method Summary
 hudson.util.ArgumentListBuilder getArguments()
          Returns the arguments to be sent to the TF command line client
 String parse(BufferedReader reader)
          Returns data from parsing the command line client output in reader
 
Methods inherited from class com.deluan.jenkins.plugins.rtc.commands.AbstractCommand
addLocalWorkspaceArgument, addLoginArgument, addRepositoryArgument, getConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionCommand

public VersionCommand(JazzConfiguration configurationProvider)
Method Detail

getArguments

public hudson.util.ArgumentListBuilder getArguments()
Description copied from interface: Command
Returns the arguments to be sent to the TF command line client

Specified by:
getArguments in interface Command
Returns:
arguments for the TF tool

parse

public String parse(BufferedReader reader)
             throws ParseException,
                    IOException
Description copied from interface: ParseableCommand
Returns data from parsing the command line client output in reader

Specified by:
parse in interface ParseableCommand<String>
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.