Constructor and Description |
---|
ServiceNowConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addModel(String name,
Class<?> type) |
void |
addRequestModel(String name,
Class<?> type) |
void |
addResponseModel(String name,
Class<?> type) |
ServiceNowConfiguration |
copy() |
String |
getApiUrl() |
String |
getApiVersion() |
String |
getDateFormat() |
String |
getDateTimeFormat() |
String |
getDisplay() |
String |
getDisplayValue() |
Boolean |
getExcludeReferenceLink() |
Boolean |
getFavorites() |
org.apache.cxf.transports.http.configuration.HTTPClientPolicy |
getHttpClientPolicy() |
Boolean |
getIncludeAggregates() |
Boolean |
getIncludeAvailableAggregates() |
Boolean |
getIncludeAvailableBreakdowns() |
Boolean |
getIncludeScoreNotes() |
Boolean |
getIncludeScores() |
Boolean |
getInputDisplayValue() |
Boolean |
getKey() |
com.fasterxml.jackson.databind.ObjectMapper |
getMapper() |
String |
getOauthClientId() |
String |
getOauthClientSecret() |
String |
getOauthTokenUrl() |
com.fasterxml.jackson.databind.ObjectMapper |
getOrCreateMapper() |
String |
getPassword() |
Integer |
getPerPage() |
org.apache.cxf.configuration.security.ProxyAuthorizationPolicy |
getProxyAuthorizationPolicy() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
String |
getProxyUserName() |
ServiceNowRelease |
getRelease() |
Class<?> |
getRequestModel(String name) |
Class<?> |
getRequestModel(String name,
Class<?> defaultType) |
Map<String,Class<?>> |
getRequestModels() |
String |
getResource() |
Class<?> |
getResponseModel(String name) |
Class<?> |
getResponseModel(String name,
Class<?> defaultType) |
Boolean |
getRetrieveTargetRecordOnImport() |
String |
getSortBy() |
String |
getSortDir() |
org.apache.camel.util.jsse.SSLContextParameters |
getSslContextParameters() |
Boolean |
getSuppressAutoSysField() |
Boolean |
getSuppressPaginationHeader() |
String |
getTable() |
Boolean |
getTarget() |
String |
getTimeFormat() |
Boolean |
getTopLevelOnly() |
String |
getUserName() |
boolean |
hasApiUrl() |
boolean |
hasBasicAuthentication() |
boolean |
hasMapper() |
boolean |
hasOAuthAuthentication() |
boolean |
hasOauthTokenUrl() |
void |
setApiUrl(String apiUrl)
The ServiceNow REST API url
|
void |
setApiVersion(String apiVersion)
The ServiceNow REST API version, default latest
|
void |
setDateFormat(String dateFormat)
The date format used for Json serialization/deserialization
|
void |
setDateTimeFormat(String dateTimeFormat)
The date-time format used for Json serialization/deserialization
|
void |
setDisplay(String display)
Set this parameter to true to return only scorecards where the indicator
Display field is selected.
|
void |
setDisplayValue(String displayValue)
Return the display value (true), actual value (false), or both (all) for
reference fields (default: false)
|
void |
setExcludeReferenceLink(Boolean excludeReferenceLink)
True to exclude Table API links for reference fields (default: false)
|
void |
setFavorites(Boolean favorites)
Set this parameter to true to return only scorecards that are favorites of
the querying user.
|
void |
setHttpClientPolicy(org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy)
To configure http-client
|
void |
setIncludeAggregates(Boolean includeAggregates)
Set this parameter to true to always return all available aggregates for
an indicator, including when an aggregate has already been applied.
|
void |
setIncludeAvailableAggregates(Boolean includeAvailableAggregates)
Set this parameter to true to return all available aggregates for an indicator
when no aggregate has been applied.
|
void |
setIncludeAvailableBreakdowns(Boolean includeAvailableBreakdowns)
Set this parameter to true to return all available breakdowns for an indicator.
|
void |
setIncludeScoreNotes(Boolean includeScoreNotes)
Set this parameter to true to return all notes associated with the score.
|
void |
setIncludeScores(Boolean includeScores)
Set this parameter to true to return all scores for a scorecard.
|
void |
setInputDisplayValue(Boolean inputDisplayValue)
True to set raw value of input fields (default: false)
|
void |
setKey(Boolean key)
Set this parameter to true to return only scorecards for key indicators.
|
void |
setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
Sets Jackson's ObjectMapper to use for request/reply
|
void |
setModels(Map<String,Class<?>> models) |
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, MUST be provided
|
void |
setPerPage(Integer perPage)
Enter the maximum number of scorecards each query can return.
|
void |
setProxyAuthorizationPolicy(org.apache.cxf.configuration.security.ProxyAuthorizationPolicy proxyAuthorizationPolicy)
To configure proxy authentication
|
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 |
setRelease(ServiceNowRelease release)
The ServiceNow release to target, default to Helsinki
See https://docs.servicenow.com
|
void |
setRequestModels(Map<String,Class<?>> models)
Defines the request model
|
void |
setResource(String resource)
The default resource, can be overridden by header CamelServiceNowResource
|
void |
setResponseModels(Map<String,Class<?>> models)
Defines the response model
|
void |
setRetrieveTargetRecordOnImport(Boolean retrieveTargetRecordOnImport)
Set this parameter to true to retrieve the target record when using import
set api.
|
void |
setSortBy(String sortBy)
Specify the value to use when sorting results.
|
void |
setSortDir(String sortDir)
Specify the sort direction, ascending or descending.
|
void |
setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
To configure security using SSLContextParameters.
|
void |
setSuppressAutoSysField(Boolean suppressAutoSysField)
True to suppress auto generation of system fields (default: false)
|
void |
setSuppressPaginationHeader(Boolean suppressPaginationHeader)
Set this value to true to remove the Link header from the response.
|
void |
setTable(String table)
The default table, can be overridden by header CamelServiceNowTable
|
void |
setTarget(Boolean target)
Set this parameter to true to return only scorecards that have a target.
|
void |
setTimeFormat(String timeFormat)
The time format used for Json serialization/deserialization
|
void |
setTopLevelOnly(Boolean topLevelOnly)
Gets only those categories whose parent is a catalog.
|
void |
setUserName(String userName)
ServiceNow user account name, MUST be provided
|
public String getUserName()
public String getApiUrl()
public void setApiUrl(String apiUrl)
public boolean hasApiUrl()
public String getApiVersion()
public void setApiVersion(String apiVersion)
public void setUserName(String userName)
public String getPassword()
public void setPassword(String password)
public String getOauthClientId()
public void setOauthClientId(String oauthClientId)
public String getOauthClientSecret()
public void setOauthClientSecret(String oauthClientSecret)
public String getOauthTokenUrl()
public boolean hasOauthTokenUrl()
public void setOauthTokenUrl(String oauthTokenUrl)
public boolean hasBasicAuthentication()
public boolean hasOAuthAuthentication()
public String getResource()
public void setResource(String resource)
public String getTable()
public void setTable(String table)
public Boolean getExcludeReferenceLink()
public void setExcludeReferenceLink(Boolean excludeReferenceLink)
public Boolean getSuppressAutoSysField()
public void setSuppressAutoSysField(Boolean suppressAutoSysField)
public Boolean getSuppressPaginationHeader()
public void setSuppressPaginationHeader(Boolean suppressPaginationHeader)
public Boolean getIncludeScores()
public void setIncludeScores(Boolean includeScores)
public Boolean getIncludeAggregates()
public void setIncludeAggregates(Boolean includeAggregates)
public Boolean getIncludeAvailableBreakdowns()
public void setIncludeAvailableBreakdowns(Boolean includeAvailableBreakdowns)
public Boolean getIncludeAvailableAggregates()
public void setIncludeAvailableAggregates(Boolean includeAvailableAggregates)
public Boolean getIncludeScoreNotes()
public void setIncludeScoreNotes(Boolean includeScoreNotes)
public Boolean getFavorites()
public void setFavorites(Boolean favorites)
public Boolean getRetrieveTargetRecordOnImport()
public void setRetrieveTargetRecordOnImport(Boolean retrieveTargetRecordOnImport)
public Boolean getKey()
public void setKey(Boolean key)
public Boolean getTarget()
public void setTarget(Boolean target)
public String getDisplay()
public void setDisplay(String display)
public Integer getPerPage()
public void setPerPage(Integer perPage)
public String getSortBy()
public void setSortBy(String sortBy)
public String getSortDir()
public void setSortDir(String sortDir)
public String getDisplayValue()
public void setDisplayValue(String displayValue)
public Boolean getInputDisplayValue()
public void setInputDisplayValue(Boolean inputDisplayValue)
public void setMapper(com.fasterxml.jackson.databind.ObjectMapper mapper)
public com.fasterxml.jackson.databind.ObjectMapper getMapper()
public com.fasterxml.jackson.databind.ObjectMapper getOrCreateMapper()
public boolean hasMapper()
public void setRelease(ServiceNowRelease release)
public ServiceNowRelease getRelease()
public Boolean getTopLevelOnly()
public void setTopLevelOnly(Boolean topLevelOnly)
public org.apache.camel.util.jsse.SSLContextParameters getSslContextParameters()
public void setSslContextParameters(org.apache.camel.util.jsse.SSLContextParameters sslContextParameters)
public org.apache.cxf.transports.http.configuration.HTTPClientPolicy getHttpClientPolicy()
public void setHttpClientPolicy(org.apache.cxf.transports.http.configuration.HTTPClientPolicy httpClientPolicy)
public org.apache.cxf.configuration.security.ProxyAuthorizationPolicy getProxyAuthorizationPolicy()
public void setProxyAuthorizationPolicy(org.apache.cxf.configuration.security.ProxyAuthorizationPolicy proxyAuthorizationPolicy)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public String getProxyUserName()
public void setProxyUserName(String proxyUserName)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public String getDateFormat()
public void setDateFormat(String dateFormat)
public String getTimeFormat()
public void setTimeFormat(String timeFormat)
public String getDateTimeFormat()
public void setDateTimeFormat(String dateTimeFormat)
public void setRequestModels(Map<String,Class<?>> models)
public void setResponseModels(Map<String,Class<?>> models)
public ServiceNowConfiguration copy()
Apache Camel