public class OpenShiftBinaryPodLogRetrieval extends AbstractOpenShiftBinaryCapability implements IPodLogRetrieval
OPENSHIFT_BINARY_LOCATION| Constructor and Description |
|---|
OpenShiftBinaryPodLogRetrieval(IPod pod,
IClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
buildArgs(String location)
Callback for building args to be sent to the oc command
|
protected void |
cleanup()
Cleanup required when stopping the process
|
InputStream |
getLogs(boolean follow)
Return the logs from the pod, optionally following them
|
String |
getName()
Well known name of the capability
|
boolean |
isSupported()
Allow the implementation of the capability to determine
if it is supported on the OpenShift server.
|
protected boolean |
validate()
Validate arguments before starting process
|
addToken, getClient, getProcess, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitstoppublic boolean isSupported()
ICapabilityisSupported in interface ICapabilitypublic String getName()
ICapabilitygetName in interface ICapabilitypublic InputStream getLogs(boolean follow)
IPodLogRetrievalgetLogs in interface IPodLogRetrievalfollow - true; if following, Default: falseprotected void cleanup()
AbstractOpenShiftBinaryCapabilitycleanup in class AbstractOpenShiftBinaryCapabilityprotected boolean validate()
AbstractOpenShiftBinaryCapabilityvalidate in class AbstractOpenShiftBinaryCapabilityprotected String[] buildArgs(String location)
AbstractOpenShiftBinaryCapabilitybuildArgs in class AbstractOpenShiftBinaryCapabilityCopyright © 2016 Red Hat, Inc. All rights reserved.