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

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

public class ListCommand
extends AbstractCommand
implements ParseableCommand<Map<String,JazzChangeSet>>

Author:
deluan

Constructor Summary
ListCommand(JazzConfiguration configurationProvider, Collection<String> changeSets)
           
 
Method Summary
 hudson.util.ArgumentListBuilder getArguments()
          Returns the arguments to be sent to the TF command line client
 Map<String,JazzChangeSet> 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

ListCommand

public ListCommand(JazzConfiguration configurationProvider,
                   Collection<String> changeSets)
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 Map<String,JazzChangeSet> 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<Map<String,JazzChangeSet>>
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.