hudson.plugins.tfs.commands
Class GetFilesToWorkFolderCommand
java.lang.Object
hudson.plugins.tfs.commands.AbstractCommand
hudson.plugins.tfs.commands.GetFilesToWorkFolderCommand
- All Implemented Interfaces:
- Command, ParseableCommand<java.util.List<java.lang.String>>
public class GetFilesToWorkFolderCommand
- extends AbstractCommand
- implements ParseableCommand<java.util.List<java.lang.String>>
|
Method Summary |
MaskedArgumentListBuilder |
getArguments()
Returns the arguments to be sent to the TF command line client |
java.util.List<java.lang.String> |
parse(java.io.Reader r)
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 |
GetFilesToWorkFolderCommand
public GetFilesToWorkFolderCommand(ServerConfigurationProvider provider,
java.lang.String workFolder,
boolean preview)
GetFilesToWorkFolderCommand
public GetFilesToWorkFolderCommand(ServerConfigurationProvider provider,
java.lang.String workFolder)
getArguments
public MaskedArgumentListBuilder 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.List<java.lang.String> parse(java.io.Reader r)
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.List<java.lang.String>>
- Parameters:
r - 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 © 2009. All Rights Reserved.