com.deluan.jenkins.plugins.rtc.commands
Class AcceptCommand
java.lang.Object
com.deluan.jenkins.plugins.rtc.commands.AbstractCommand
com.deluan.jenkins.plugins.rtc.commands.AcceptCommand
- All Implemented Interfaces:
- Command, ParseableCommand<java.util.Map<java.lang.String,JazzChangeSet>>
public class AcceptCommand
- extends AbstractCommand
- implements ParseableCommand<java.util.Map<java.lang.String,JazzChangeSet>>
- Author:
- deluan
|
Method Summary |
hudson.util.ArgumentListBuilder |
getArguments()
Returns the arguments to be sent to the TF command line client |
java.util.Map<java.lang.String,JazzChangeSet> |
parse(java.io.BufferedReader reader)
Returns data from parsing the command line client output in reader |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEW_FORMAT_VERSION
public static final java.lang.String NEW_FORMAT_VERSION
- See Also:
- Constant Field Values
oldFormat
protected boolean oldFormat
AcceptCommand
public AcceptCommand(JazzConfigurationProvider configurationProvider,
java.util.Collection<java.lang.String> changeSets,
java.lang.String version)
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 java.util.Map<java.lang.String,JazzChangeSet> parse(java.io.BufferedReader reader)
throws java.text.ParseException,
java.io.IOException
- Description copied from interface:
ParseableCommand
- Returns data from parsing the command line client output in reader
- Specified by:
parse in interface ParseableCommand<java.util.Map<java.lang.String,JazzChangeSet>>
- Parameters:
reader - reader containing the output from the command line client
- Returns:
- parsed data
- Throws:
java.text.ParseException - thrown if there was a problem parsing the data
java.io.IOException - thrown if there was a problem reading the data from the reader
Copyright © 2004-2011. All Rights Reserved.