com.deluan.jenkins.plugins.rtc.commands
Class ListCommand
java.lang.Object
com.deluan.jenkins.plugins.rtc.commands.AbstractCommand
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ListCommand
public ListCommand(JazzConfiguration configurationProvider,
Collection<String> changeSets)
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.