public abstract class AbstractOpenShiftBinaryCapability extends Object implements ICapability
OPENSHIFT_BINARY_LOCATION
Modifier | Constructor and Description |
---|---|
protected |
AbstractOpenShiftBinaryCapability() |
protected |
AbstractOpenShiftBinaryCapability(IClient client) |
Modifier and Type | Method and Description |
---|---|
protected StringBuilder |
addToken(StringBuilder builder) |
protected abstract String[] |
buildArgs(String location)
Callback for building args to be sent to the oc command
|
protected abstract void |
cleanup()
Cleanup required when stopping the process
|
protected IClient |
getClient() |
protected Process |
getProcess() |
void |
start() |
void |
stop() |
protected abstract boolean |
validate()
Validate arguments before starting process
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, isSupported
protected AbstractOpenShiftBinaryCapability(IClient client)
protected AbstractOpenShiftBinaryCapability()
protected abstract void cleanup()
protected abstract boolean validate()
protected abstract String[] buildArgs(String location)
location
- protected IClient getClient()
protected Process getProcess()
protected StringBuilder addToken(StringBuilder builder)
public final void start()
public final void stop()
Copyright © 2016 Red Hat, Inc. All rights reserved.