@UriEndpoint(firstVersion="2.16.0",
scheme="git",
title="Git",
syntax="git:localPath",
category=FILE)
public class GitEndpoint
extends org.apache.camel.support.DefaultEndpoint
Constructor and Description |
---|
GitEndpoint(String uri,
GitComponent component) |
Modifier and Type | Method and Description |
---|---|
org.apache.camel.Consumer |
createConsumer(org.apache.camel.Processor processor) |
org.apache.camel.Producer |
createProducer() |
String |
getBranchName()
The branch name to work on
|
String |
getLocalPath()
Local repository path
|
String |
getOperation()
The operation to do on the repository
|
String |
getPassword()
Remote repository password
|
String |
getRemoteName()
The remote repository name to use in particular operation like pull
|
String |
getRemotePath()
The remote repository path
|
String |
getTagName()
The tag name to work on
|
GitType |
getType()
The consumer type
|
String |
getUsername()
Remote repository username
|
boolean |
isAllowEmpty()
The flag to manage empty git commits
|
void |
setAllowEmpty(boolean allowEmpty) |
void |
setBranchName(String branchName) |
void |
setLocalPath(String localPath) |
void |
setOperation(String operation) |
void |
setPassword(String password) |
void |
setRemoteName(String remoteName) |
void |
setRemotePath(String remotePath) |
void |
setTagName(String tagName) |
void |
setType(GitType type) |
void |
setUsername(String username) |
configureConsumer, configurePollingConsumer, configureProperties, createAsyncProducer, createEndpointUri, createExchange, createExchange, createPollingConsumer, doInit, doStart, doStop, equals, getCamelContext, getComponent, getEndpointKey, getEndpointUri, getExceptionHandler, getExchangePattern, getId, getPollingConsumerBlockTimeout, getPollingConsumerQueueSize, hashCode, isAutowiredEnabled, isBridgeErrorHandler, isLazyStartProducer, isLenientProperties, isPollingConsumerBlockWhenFull, isSingleton, isSynchronous, setAutowiredEnabled, setBridgeErrorHandler, setCamelContext, setComponent, setEndpointUri, setEndpointUriIfNotSpecified, setExceptionHandler, setExchangePattern, setLazyStartProducer, setPollingConsumerBlockTimeout, setPollingConsumerBlockWhenFull, setPollingConsumerQueueSize, setProperties, setSynchronous, toString
build, doBuild, doFail, doLifecycleChange, doResume, doShutdown, doSuspend, fail, getStatus, init, isBuild, isInit, isNew, isRunAllowed, isShutdown, isStarted, isStarting, isStartingOrStarted, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public GitEndpoint(String uri, GitComponent component)
public org.apache.camel.Consumer createConsumer(org.apache.camel.Processor processor) throws Exception
Exception
public String getRemotePath()
public void setRemotePath(String remotePath)
public String getBranchName()
public void setBranchName(String branchName)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getLocalPath()
public void setLocalPath(String localPath)
public String getOperation()
public void setOperation(String operation)
public GitType getType()
public void setType(GitType type)
public String getTagName()
public void setTagName(String tagName)
public String getRemoteName()
public void setRemoteName(String remoteName)
public boolean isAllowEmpty()
public void setAllowEmpty(boolean allowEmpty)
Apache Camel