public class ListWorkspacesCommand extends Object implements ParseableCommand<List<Workspace>>, Command
| Constructor and Description |
|---|
ListWorkspacesCommand(hudson.remoting.VirtualChannel channel) |
| Modifier and Type | Method and Description |
|---|---|
MaskedArgumentListBuilder |
getArguments()
Returns the arguments to be sent to the cm command line client
|
List<Workspace> |
parse(Reader consoleReader)
Returns data from parsing the command line client output in reader
|
public ListWorkspacesCommand(hudson.remoting.VirtualChannel channel)
public MaskedArgumentListBuilder getArguments()
CommandgetArguments in interface Commandpublic List<Workspace> parse(Reader consoleReader) throws IOException
ParseableCommandparse in interface ParseableCommand<List<Workspace>>consoleReader - 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.