public class JiraSession
extends java.lang.Object
| Constructor and Description |
|---|
JiraSession(java.lang.String clientId,
java.lang.String clientSecret,
java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyDomain,
java.lang.String proxyUsername,
java.lang.String proxyPassword)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close session.
|
java.lang.String |
getBaseUrl()
Get baseUrl via serverInfo API call
|
JiraIssue |
getIssue(java.lang.String issueKey)
Get an individual issue.
|
java.util.Map<java.lang.String,java.lang.String> |
getRepositoryInfo()
Obtain repository information.
|
void |
getSeeds(org.apache.manifoldcf.connectorcommon.common.XThreadStringBuffer idBuffer,
java.lang.String jiraDriveQuery)
Get the list of matching root documents, e.g.
|
java.util.List<java.lang.String> |
getUsers(java.lang.String issueKey)
Get the list of users that can see the specified issue.
|
public JiraSession(java.lang.String clientId,
java.lang.String clientSecret,
java.lang.String protocol,
java.lang.String host,
int port,
java.lang.String path,
java.lang.String proxyHost,
int proxyPort,
java.lang.String proxyDomain,
java.lang.String proxyUsername,
java.lang.String proxyPassword)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic void close()
public java.util.Map<java.lang.String,java.lang.String> getRepositoryInfo()
throws java.io.IOException,
ResponseException
java.io.IOExceptionResponseExceptionpublic java.lang.String getBaseUrl()
throws java.io.IOException,
ResponseException
java.io.IOExceptionResponseExceptionpublic void getSeeds(org.apache.manifoldcf.connectorcommon.common.XThreadStringBuffer idBuffer,
java.lang.String jiraDriveQuery)
throws java.io.IOException,
ResponseException,
java.lang.InterruptedException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionResponseExceptionjava.lang.InterruptedExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic java.util.List<java.lang.String> getUsers(java.lang.String issueKey)
throws java.io.IOException,
ResponseException,
org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionResponseExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionpublic JiraIssue getIssue(java.lang.String issueKey) throws java.io.IOException, ResponseException, org.apache.manifoldcf.core.interfaces.ManifoldCFException
java.io.IOExceptionResponseExceptionorg.apache.manifoldcf.core.interfaces.ManifoldCFException