public class BacklogEndPointSupport
extends java.lang.Object
Constructor and Description |
---|
BacklogEndPointSupport(BacklogConfigure backlogConfigure) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
buildEndpoint(java.lang.String connection) |
java.lang.String |
getIssueAttachmentEndpoint(java.lang.Object issueIdOrKey,
java.lang.Object attachmentId)
Returns the endpoint of attachment file.
|
java.lang.String |
getProjectIconEndpoint(java.lang.Object projectIdOrKey)
Returns the endpoint of project icon.
|
java.lang.String |
getPullRequestAttachmentEndpoint(java.lang.Object projectIdOrKey,
java.lang.Object repoIdOrName,
java.lang.Object number,
java.lang.Object attachmentId)
Returns the endpoint of attachment file.
|
java.lang.String |
getSharedFileEndpoint(java.lang.Object projectIdOrKey,
java.lang.Object sharedFileId)
Returns the endpoint of shared file.
|
java.lang.String |
getSpaceIconEndpoint()
Returns the endpoint of space icon.
|
java.lang.String |
getUserIconEndpoint(java.lang.Object numericUserId)
Returns the endpoint of user icon.
|
java.lang.String |
getWikiAttachmentEndpoint(java.lang.Object wikiId,
java.lang.Object attachmentId)
Returns the endpoint of Wiki page's attachment file.
|
public BacklogEndPointSupport(BacklogConfigure backlogConfigure)
public java.lang.String getSpaceIconEndpoint() throws BacklogException
BacklogException
public java.lang.String getProjectIconEndpoint(java.lang.Object projectIdOrKey) throws BacklogException
projectIdOrKey
- the project identifierBacklogException
public java.lang.String getUserIconEndpoint(java.lang.Object numericUserId) throws BacklogException
numericUserId
- the user identifierBacklogException
public java.lang.String getSharedFileEndpoint(java.lang.Object projectIdOrKey, java.lang.Object sharedFileId) throws BacklogException
projectIdOrKey
- the project identifiersharedFileId
- the shared file identifierBacklogException
public java.lang.String getIssueAttachmentEndpoint(java.lang.Object issueIdOrKey, java.lang.Object attachmentId) throws BacklogException
issueIdOrKey
- the issue identifierattachmentId
- the attachment identifierrBacklogException
public java.lang.String getWikiAttachmentEndpoint(java.lang.Object wikiId, java.lang.Object attachmentId) throws BacklogException
wikiId
- the Wiki page identifierattachmentId
- the attachment identifierBacklogException
public java.lang.String getPullRequestAttachmentEndpoint(java.lang.Object projectIdOrKey, java.lang.Object repoIdOrName, java.lang.Object number, java.lang.Object attachmentId)
projectIdOrKey
- the project identifierrepoIdOrName
- the repository namenumber
- the pull request identifierattachmentId
- the pull request attachment identifierprotected java.lang.String buildEndpoint(java.lang.String connection)