public class BinaryScaleInvocation
extends com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapability
implements com.openshift.restclient.capability.resources.IPodLogRetrieval
| Constructor and Description |
|---|
BinaryScaleInvocation(String replicaCount,
String deployment,
String nameSpace,
com.openshift.restclient.IClient client) |
| Modifier and Type | Method and Description |
|---|---|
protected String[] |
buildArgs(String location) |
protected void |
cleanup() |
String |
getArgs() |
InputStream |
getLogs(boolean follow) |
String |
getName() |
boolean |
isSupported() |
protected boolean |
validate() |
addToken, getClient, getOpenShiftBinaryLocation, getProcess, start, stoppublic boolean isSupported()
isSupported in interface com.openshift.restclient.capability.ICapabilitypublic String getName()
getName in interface com.openshift.restclient.capability.ICapabilityprotected void cleanup()
cleanup in class com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapabilityprotected boolean validate()
validate in class com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapabilityprotected String[] buildArgs(String location)
buildArgs in class com.openshift.internal.restclient.capability.resources.AbstractOpenShiftBinaryCapabilitypublic String getArgs()
public InputStream getLogs(boolean follow)
getLogs in interface com.openshift.restclient.capability.resources.IPodLogRetrievalCopyright © 2004-2015 Red Hat, Inc. All Rights Reserved.