hudson.plugins.lockedfilesreport
Class FindFilesInUseWithHandle
java.lang.Object
hudson.plugins.lockedfilesreport.FindFilesInUseCommand
hudson.plugins.lockedfilesreport.FindFilesInUseWithHandle
- All Implemented Interfaces:
- java.io.Serializable
public class FindFilesInUseWithHandle
- extends FindFilesInUseCommand
- implements java.io.Serializable
- See Also:
- Serialized Form
|
Method Summary |
hudson.util.ArgumentListBuilder |
getArguments(java.lang.String workspacePath)
Return an argument builder containing the necessaary arguments for the command |
java.util.List<FileUsageDetails> |
parseOutput(int result,
java.io.BufferedReader reader,
java.lang.String workspacePath)
Parses the output from the command. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FindFilesInUseWithHandle
public FindFilesInUseWithHandle(java.lang.String exec)
FindFilesInUseWithHandle
public FindFilesInUseWithHandle()
parseOutput
public java.util.List<FileUsageDetails> parseOutput(int result,
java.io.BufferedReader reader,
java.lang.String workspacePath)
throws java.io.IOException
- Description copied from class:
FindFilesInUseCommand
- Parses the output from the command.
- Specified by:
parseOutput in class FindFilesInUseCommand
- Parameters:
result - result code from commandreader - stream containing the command outputworkspacePath - path to workspace with OS dependent file chars
- Returns:
- list of locked files; empty if none found.
- Throws:
java.io.IOException - thrown if there was any problems with the stream
getArguments
public hudson.util.ArgumentListBuilder getArguments(java.lang.String workspacePath)
- Description copied from class:
FindFilesInUseCommand
- Return an argument builder containing the necessaary arguments for the command
- Specified by:
getArguments in class FindFilesInUseCommand
- Parameters:
workspacePath - path to workspace with OS dependent file chars
- Returns:
- an argument builder
Copyright © 2009. All Rights Reserved.