public class KubernetesBuildsProducer extends DefaultProducer
log
shutdown, shuttingdown, started, starting, stopped, stopping, suspended, suspending
Constructor and Description |
---|
KubernetesBuildsProducer(KubernetesEndpoint endpoint) |
Modifier and Type | Method and Description |
---|---|
protected void |
doGetBuild(Exchange exchange,
String operation) |
protected void |
doList(Exchange exchange,
String operation) |
protected void |
doListBuildByLabels(Exchange exchange,
String operation) |
KubernetesEndpoint |
getEndpoint()
Gets the endpoint associated with an object.
|
void |
process(Exchange exchange)
Processes the message exchange
|
createExchange, createExchange, createExchange, doStart, doStop, isSingleton, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public KubernetesBuildsProducer(KubernetesEndpoint endpoint)
public KubernetesEndpoint getEndpoint()
EndpointAware
Producer
or for consuming from for components like Consumer
or Route
getEndpoint
in interface EndpointAware
getEndpoint
in class DefaultProducer
public void process(Exchange exchange) throws Exception
Processor
exchange
- the message exchangeException
- if an internal processing error has occurred.protected void doList(Exchange exchange, String operation) throws Exception
Exception
protected void doListBuildByLabels(Exchange exchange, String operation) throws Exception
Exception
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.