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

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

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

Author:
deluan

Field Summary
static String NEW_FORMAT_VERSION
           
protected  boolean oldFormat
           
 
Constructor Summary
AcceptCommand(JazzConfiguration configurationProvider, Collection<String> changeSets, String version)
           
 
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
 

Field Detail

NEW_FORMAT_VERSION

public static final String NEW_FORMAT_VERSION
See Also:
Constant Field Values

oldFormat

protected boolean oldFormat
Constructor Detail

AcceptCommand

public AcceptCommand(JazzConfiguration configurationProvider,
                     Collection<String> changeSets,
                     String version)
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.