public class BuildOperationsImpl extends OpenShiftOperation<Build,BuildList,DoneableBuild,BuildResource<Build,DoneableBuild,java.lang.String,LogWatch>> implements BuildResource<Build,DoneableBuild,java.lang.String,LogWatch>
apiVersion, doneableType, listType, reaper, typeapiGroupName, apiGroupVersion, client, config, context, JSON, JSON_MAPPER, JSON_PATCH, name, namespace, resourceT, YAML_MAPPER| Constructor and Description |
|---|
BuildOperationsImpl(BuildOperationContext context) |
BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.ResponseBody |
doGetLog() |
java.lang.String |
getLog() |
java.lang.String |
getLog(java.lang.Boolean isPretty) |
protected java.lang.String |
getLogParameters() |
java.io.Reader |
getLogReader()
Returns an unclosed Reader.
|
BytesLimitTerminateTimeTailPrettyLoggable<java.lang.String,LogWatch> |
limitBytes(int limitBytes) |
BuildOperationsImpl |
newInstance(OperationContext context) |
TailPrettyLoggable<java.lang.String,LogWatch> |
sinceSeconds(int sinceSeconds) |
TailPrettyLoggable<java.lang.String,LogWatch> |
sinceTime(java.lang.String sinceTimestamp) |
PrettyLoggable<java.lang.String,LogWatch> |
tailingLines(int tailingLines) |
TimeTailPrettyLoggable<java.lang.String,LogWatch> |
terminated() |
BytesLimitTerminateTimeTailPrettyLoggable<java.lang.String,LogWatch> |
usingTimestamps() |
LogWatch |
watchLog() |
LogWatch |
watchLog(java.io.OutputStream out) |
Loggable<java.lang.String,LogWatch> |
withPrettyOutput() |
getConfig, getConfigType, getRootUrledit, patch, periodicWatchUntilReady, replace, waitUntilReadycascading, create, createNew, createOrReplace, createOrReplaceWithNew, delete, delete, delete, forOperationType, fromServer, get, getApiVersion, getDoneableType, getFieldQueryParam, getFields, getFieldsNot, getGracePeriodSeconds, getItem, getKind, getLabelQueryParam, getLabels, getLabelsIn, getLabelsNot, getLabelsNotIn, getListType, getMandatory, getOperationType, getPropagationPolicy, getReloadingFromServer, getResourceT, getResourceVersion, getRootPaths, getType, handleCreate, handleGet, handlePatch, handleReplace, handleResponse, inAnyNamespace, inNamespace, isApiGroup, isCascading, isReady, isReaping, isReloadingFromServer, isResourceNamespaced, list, list, load, load, load, load, lockResourceVersion, require, setReaping, updateApiVersion, updateApiVersion, updateApiVersionResource, waitUntilCondition, waitUntilExists, watch, watch, withField, withFields, withGracePeriod, withItem, withLabel, withLabel, withLabelIn, withLabelNotIn, withLabels, withLabelSelector, withName, withoutField, withoutFields, withoutLabel, withoutLabel, withoutLabels, withPropagationPolicy, withResourceVersionassertResponseCode, checkName, checkNamespace, createStatus, createStatus, getAPIGroup, getAPIVersion, getName, getNamespace, getNamespacedUrl, getNamespacedUrl, getNamespacedUrl, getResourceUrl, getResourceUrl, handleCreate, handleDelete, handleDelete, handleGet, handleGet, handlePatch, handleReplace, handleReplace, handleResponse, handleResponse, handleResponse, handleResponse, requestException, requestFailure, unmarshal, unmarshal, unmarshalclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateOrReplace, createOrReplaceWithNewcreate, createNewfromServerreplacewithGracePeriodwithPropagationPolicylockResourceVersionwithResourceVersionwaitUntilCondition, waitUntilReadyrequiregetName, getNamespacepublic BuildOperationsImpl(okhttp3.OkHttpClient client,
OpenShiftConfig config)
public BuildOperationsImpl(BuildOperationContext context)
public BuildOperationsImpl newInstance(OperationContext context)
newInstance in class BaseOperation<Build,BuildList,DoneableBuild,BuildResource<Build,DoneableBuild,java.lang.String,LogWatch>>protected java.lang.String getLogParameters()
protected okhttp3.ResponseBody doGetLog()
public java.lang.String getLog()
public java.lang.String getLog(java.lang.Boolean isPretty)
public java.io.Reader getLogReader()
getLogReader in interface Loggable<java.lang.String,LogWatch>public LogWatch watchLog()
public LogWatch watchLog(java.io.OutputStream out)
public Loggable<java.lang.String,LogWatch> withPrettyOutput()
withPrettyOutput in interface Prettyable<Loggable<java.lang.String,LogWatch>>public PrettyLoggable<java.lang.String,LogWatch> tailingLines(int tailingLines)
tailingLines in interface Tailable<PrettyLoggable<java.lang.String,LogWatch>>public TimeTailPrettyLoggable<java.lang.String,LogWatch> terminated()
terminated in interface Terminateable<TimeTailPrettyLoggable<java.lang.String,LogWatch>>public TailPrettyLoggable<java.lang.String,LogWatch> sinceTime(java.lang.String sinceTimestamp)
sinceTime in interface Timeable<TailPrettyLoggable<java.lang.String,LogWatch>>public TailPrettyLoggable<java.lang.String,LogWatch> sinceSeconds(int sinceSeconds)
sinceSeconds in interface Timeable<TailPrettyLoggable<java.lang.String,LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<java.lang.String,LogWatch> limitBytes(int limitBytes)
limitBytes in interface BytesLimitable<TimeTailPrettyLoggable<java.lang.String,LogWatch>>public BytesLimitTerminateTimeTailPrettyLoggable<java.lang.String,LogWatch> usingTimestamps()
usingTimestamps in interface Timestampable<BytesLimitTerminateTimeTailPrettyLoggable<java.lang.String,LogWatch>>Copyright © 2015-2019 Red Hat. All Rights Reserved.