@UriEndpoint(firstVersion="2.14.0", scheme="openshift", title="OpenShift", syntax="openshift:clientId", consumerClass=OpenShiftConsumer.class, label="cloud,paas") public class OpenShiftEndpoint extends org.apache.camel.impl.ScheduledPollEndpoint
Constructor and Description |
---|
OpenShiftEndpoint(String endpointUri,
org.apache.camel.Component component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Exchange |
createExchange(com.openshift.client.IApplication application) |
org.apache.camel.Producer |
createProducer() |
String |
getApplication() |
String |
getClientId() |
String |
getDomain() |
String |
getMode() |
String |
getOperation() |
String |
getPassword() |
String |
getServer() |
String |
getUsername() |
boolean |
isSingleton() |
void |
setApplication(String application)
The application name to start, stop, restart, or get the state.
|
void |
setClientId(String clientId)
The client id
|
void |
setDomain(String domain)
Domain name.
|
void |
setMode(String mode)
Whether to output the message body as a pojo or json.
|
void |
setOperation(OpenShiftOperation operation) |
void |
setOperation(String operation)
The operation to perform which can be: list, start, stop, restart, and state.
|
void |
setPassword(String password)
The password for login to openshift server.
|
void |
setServer(String server)
Url to the openshift server.
|
void |
setUsername(String username)
The username to login to openshift server.
|
configurePollingConsumer, configureProperties, configureScheduledPollConsumerProperties, doStart, doStop, getBackoffErrorThreshold, getBackoffIdleThreshold, getBackoffMultiplier, getDelay, getInitialDelay, getPollStrategy, getRunLoggingLevel, getScheduledExecutorService, getScheduler, getSchedulerProperties, getTimeUnit, initConsumerProperties, isGreedy, isSendEmptyMessageWhenIdle, isStartScheduler, isUseFixedDelay, setBackoffErrorThreshold, setBackoffIdleThreshold, setBackoffMultiplier, setDelay, setGreedy, setInitialDelay, setPollStrategy, setRunLoggingLevel, setScheduledExecutorService, setScheduler, setScheduler, setSchedulerProperties, setSendEmptyMessageWhenIdle, setStartScheduler, setTimeUnit, setUseFixedDelay
configureConsumer, createEndpointConfiguration, createEndpointUri, createExchange, createExchange, createExchange, createPollingConsumer, equals, getCamelContext, getComponent, getConsumerProperties, getEndpointConfiguration, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isBridgeErrorHandler, isLenientProperties, isPollingConsumerBlockWhenFull, isSynchronous, setBridgeErrorHandler, setCamelContext, setConsumerProperties, setEndpointConfiguration, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
public OpenShiftEndpoint(String endpointUri, org.apache.camel.Component component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public org.apache.camel.Exchange createExchange(com.openshift.client.IApplication application)
public boolean isSingleton()
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getClientId()
public void setClientId(String clientId)
public String getDomain()
public void setDomain(String domain)
public String getServer()
public void setServer(String server)
public String getOperation()
public void setOperation(String operation)
public void setOperation(OpenShiftOperation operation)
public String getApplication()
public void setApplication(String application)
public String getMode()
public void setMode(String mode)
Apache Camel