public class GetWorkspaceFromPathCommand extends Object implements ParseableCommand<Workspace>, Command
Constructor and Description |
---|
GetWorkspaceFromPathCommand(hudson.FilePath workspacePath) |
Modifier and Type | Method and Description |
---|---|
MaskedArgumentListBuilder |
getArguments()
Returns the arguments to be sent to the cm command line client
|
Workspace |
parse(Reader r)
Returns data from parsing the command line client output in reader
|
public GetWorkspaceFromPathCommand(hudson.FilePath workspacePath)
public MaskedArgumentListBuilder getArguments()
Command
getArguments
in interface Command
public Workspace parse(Reader r) throws IOException
ParseableCommand
parse
in interface ParseableCommand<Workspace>
r
- reader containing the output from the command line clientIOException
- thrown if there was a problem reading the data from the readerCopyright © 2016–2023. All rights reserved.