@Metadata(label="verifiers",
enums="parameters,connectivity")
public class ServiceNowComponent
extends org.apache.camel.impl.DefaultComponent
implements org.apache.camel.VerifiableComponent, org.apache.camel.SSLContextParametersAware
ServiceNowEndpoint
.Constructor and Description |
---|
ServiceNowComponent() |
ServiceNowComponent(org.apache.camel.CamelContext camelContext) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.camel.Endpoint |
createEndpoint(String uri,
String remaining,
Map<String,Object> parameters) |
String |
getApiUrl() |
ServiceNowConfiguration |
getConfiguration() |
String |
getInstanceName() |
String |
getOauthClientId() |
String |
getOauthClientSecret() |
String |
getOauthTokenUrl() |
String |
getPassword() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
String |
getProxyUserName() |
String |
getUserName() |
org.apache.camel.ComponentVerifier |
getVerifier() |
boolean |
isUseGlobalSslContextParameters() |
void |
setApiUrl(String apiUrl)
The ServiceNow REST API url
|
void |
setConfiguration(ServiceNowConfiguration configuration)
The ServiceNow default configuration
|
void |
setInstanceName(String instanceName)
The ServiceNow instance name
|
void |
setOauthClientId(String oauthClientId)
OAuth2 ClientID
|
void |
setOauthClientSecret(String oauthClientSecret)
OAuth2 ClientSecret
|
void |
setOauthTokenUrl(String oauthTokenUrl)
OAuth token Url
|
void |
setPassword(String password)
ServiceNow account password
|
void |
setProxyHost(String proxyHost)
The proxy host name
|
void |
setProxyPassword(String proxyPassword)
Password for proxy authentication
|
void |
setProxyPort(Integer proxyPort)
The proxy port number
|
void |
setProxyUserName(String proxyUserName)
Username for proxy authentication
|
void |
setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
Enable usage of global SSL context parameters.
|
void |
setUserName(String userName)
ServiceNow user account name
|
afterConfiguration, createComponentConfiguration, createConfiguration, createEndpoint, doStart, doStop, getAndRemoveOrResolveReferenceParameter, getAndRemoveOrResolveReferenceParameter, getAndRemoveParameter, getAndRemoveParameter, getCamelContext, getExtension, getSupportedExtensions, ifStartsWithReturnRemainder, isResolvePropertyPlaceholders, preProcessUri, registerExtension, registerExtension, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceListParameter, resolveAndRemoveReferenceParameter, resolveAndRemoveReferenceParameter, setCamelContext, setProperties, setProperties, setResolvePropertyPlaceholders, useIntrospectionOnEndpoint, useRawUri, validateParameters, validateURI
doResume, doShutdown, doSuspend, getStatus, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, isStoppingOrStopped, isSuspended, isSuspending, isSuspendingOrSuspended, resume, shutdown, start, stop, suspend
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ServiceNowComponent()
public ServiceNowComponent(org.apache.camel.CamelContext camelContext)
public String getInstanceName()
public void setInstanceName(String instanceName)
public ServiceNowConfiguration getConfiguration()
public void setConfiguration(ServiceNowConfiguration configuration)
public String getApiUrl()
public void setApiUrl(String apiUrl)
public String getUserName()
@Metadata(label="security", secret=true) public void setUserName(String userName)
public String getPassword()
@Metadata(label="security", secret=true) public void setPassword(String password)
public String getOauthClientId()
@Metadata(label="security", secret=true) public void setOauthClientId(String oauthClientId)
public String getOauthClientSecret()
@Metadata(label="security", secret=true) public void setOauthClientSecret(String oauthClientSecret)
public String getOauthTokenUrl()
@Metadata(label="security", secret=true) public void setOauthTokenUrl(String oauthTokenUrl)
public String getProxyHost()
@Metadata(label="advanced") public void setProxyHost(String proxyHost)
proxyHost
- public Integer getProxyPort()
@Metadata(label="advanced") public void setProxyPort(Integer proxyPort)
proxyPort
- public String getProxyUserName()
@Metadata(label="advanced,security", secret=true) public void setProxyUserName(String proxyUserName)
proxyUserName
- public String getProxyPassword()
@Metadata(label="advanced,security", secret=true) public void setProxyPassword(String proxyPassword)
proxyPassword
- public boolean isUseGlobalSslContextParameters()
isUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public void setUseGlobalSslContextParameters(boolean useGlobalSslContextParameters)
setUseGlobalSslContextParameters
in interface org.apache.camel.SSLContextParametersAware
public org.apache.camel.ComponentVerifier getVerifier()
getVerifier
in interface org.apache.camel.VerifiableComponent
Apache Camel