Package org.apache.camel.component.jira
Class JiraConfiguration
- java.lang.Object
-
- org.apache.camel.component.jira.JiraConfiguration
-
-
Constructor Summary
Constructors Constructor Description JiraConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JiraConfiguration
copy()
String
getAccessToken()
String
getConsumerKey()
Integer
getDelay()
String
getJiraUrl()
String
getPassword()
String
getPrivateKey()
String
getUsername()
String
getVerificationCode()
void
setAccessToken(String accessToken)
(OAuth or Personal Access Token authentication) The access token generated by the Jira server.void
setConsumerKey(String consumerKey)
(OAuth only) The consumer key from Jira settings.void
setDelay(Integer delay)
Time in milliseconds to elapse for the next poll.void
setJiraUrl(String jiraUrl)
The Jira server url, example: http://my_jira.com:8081void
setPassword(String password)
(Basic authentication only) The password or the API Token to authenticate to the Jira server.void
setPrivateKey(String privateKey)
(OAuth only) The private key generated by the client to encrypt the conversation to the server.void
setUsername(String username)
(Basic authentication only) The username to authenticate to the Jira server.void
setVerificationCode(String verificationCode)
(OAuth only) The verification code from Jira generated in the first step of the authorization proccess.
-
-
-
Method Detail
-
getVerificationCode
public String getVerificationCode()
-
setVerificationCode
public void setVerificationCode(String verificationCode)
(OAuth only) The verification code from Jira generated in the first step of the authorization proccess.
-
getConsumerKey
public String getConsumerKey()
-
setConsumerKey
public void setConsumerKey(String consumerKey)
(OAuth only) The consumer key from Jira settings.
-
getPrivateKey
public String getPrivateKey()
-
setPrivateKey
public void setPrivateKey(String privateKey)
(OAuth only) The private key generated by the client to encrypt the conversation to the server.
-
getAccessToken
public String getAccessToken()
-
setAccessToken
public void setAccessToken(String accessToken)
(OAuth or Personal Access Token authentication) The access token generated by the Jira server.
-
getJiraUrl
public String getJiraUrl()
-
setJiraUrl
public void setJiraUrl(String jiraUrl)
The Jira server url, example: http://my_jira.com:8081
-
getDelay
public Integer getDelay()
-
setDelay
public void setDelay(Integer delay)
Time in milliseconds to elapse for the next poll.- Parameters:
delay
- Integer time in milliseconds
-
getUsername
public String getUsername()
-
setUsername
public void setUsername(String username)
(Basic authentication only) The username to authenticate to the Jira server. Use only if OAuth is not enabled on the Jira server. Do not set the username and OAuth token parameter, if they are both set, the username basic authentication takes precedence.
-
getPassword
public String getPassword()
-
setPassword
public void setPassword(String password)
(Basic authentication only) The password or the API Token to authenticate to the Jira server. Use only if username basic authentication is used.
-
copy
public JiraConfiguration copy()
-
-