hudson.plugins.tfs
Class TfTool
java.lang.Object
hudson.plugins.tfs.TfTool
public class TfTool
- extends java.lang.Object
Class that encapsulates the Team Foundation command client.
- Author:
- Erik Ramfelt
|
Constructor Summary |
TfTool(java.lang.String executable,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace)
|
|
Method Summary |
java.io.Reader |
execute(java.lang.String[] arguments)
Execute the arguments, and return the console output as a Reader |
java.io.Reader |
execute(java.lang.String[] arguments,
boolean[] masks)
Execute the arguments, and return the console output as a Reader |
hudson.model.TaskListener |
getListener()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TfTool
public TfTool(java.lang.String executable,
hudson.Launcher launcher,
hudson.model.TaskListener listener,
hudson.FilePath workspace)
getListener
public hudson.model.TaskListener getListener()
execute
public java.io.Reader execute(java.lang.String[] arguments)
throws java.io.IOException,
java.lang.InterruptedException
- Execute the arguments, and return the console output as a Reader
- Parameters:
arguments - arguments to send to the command-line client.
- Returns:
- a Reader containing the console output
- Throws:
java.io.IOException
java.lang.InterruptedException
execute
public java.io.Reader execute(java.lang.String[] arguments,
boolean[] masks)
throws java.io.IOException,
java.lang.InterruptedException
- Execute the arguments, and return the console output as a Reader
- Parameters:
arguments - arguments to send to the command-line client.masks - which of the commands that should be masked from the console.
- Returns:
- a Reader containing the console output
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2008. All Rights Reserved.