public class ProcessOutputResource extends AbstractResource implements CheckableResource
Resource implementation to create an
operating system process process and capture its output.| Constructor and Description |
|---|
ProcessOutputResource(String... command) |
| Modifier and Type | Method and Description |
|---|---|
void |
check() |
String |
getDescription() |
InputStream |
getInputStream() |
String |
toString() |
contentLength, createRelative, equals, exists, getFile, getFileForLastModifiedCheck, getFilename, getURI, getURL, hashCode, isFile, isOpen, isReadable, lastModified, readableChannelclone, finalize, getClass, notify, notifyAll, wait, wait, waitcontentLength, createRelative, exists, getFile, getFilename, getURI, getURL, isFile, isOpen, isReadable, lastModified, readableChannelpublic ProcessOutputResource(String... command)
public String getDescription()
getDescription in interface Resourcepublic InputStream getInputStream() throws IOException
getInputStream in interface InputStreamSourceIOExceptionpublic String toString()
toString in class AbstractResourcepublic void check()
throws IOException
check in interface CheckableResourceIOExceptionCopyright © 2023 Pivotal Software, Inc.. All rights reserved.