Class MyPermissionsInput
java.lang.Object
com.atlassian.jira.rest.client.api.domain.input.MyPermissionsInput
Permissions context for
MyPermissionsRestClient-
Constructor Summary
ConstructorsConstructorDescriptionMyPermissionsInput(String projectKey, Integer projectId, String issueKey, Integer issueId) Creates permissions context -
Method Summary
Modifier and TypeMethodDescriptiontoString()static MyPermissionsInputwithAny()Creates permissions context for any project or issuestatic MyPermissionsInputwithIssue(int issueId) Creates permissions context with issue defined by idstatic MyPermissionsInputCreates permissions context with issue defined by keystatic MyPermissionsInputwithProject(int projectId) Creates permissions context with project defined by idstatic MyPermissionsInputwithProject(String projectKey) Creates permissions context with project defined by key
-
Constructor Details
-
MyPermissionsInput
public MyPermissionsInput(@Nullable String projectKey, @Nullable Integer projectId, @Nullable String issueKey, @Nullable Integer issueId) Creates permissions context- Parameters:
projectKey- key of project to scope returned permissions forprojectId- id of project to scope returned permissions forissueKey- key of the issue to scope returned permissions forissueId- id of the issue to scope returned permissions for
-
-
Method Details
-
getProjectKey
-
getProjectId
-
getIssueKey
-
getIssueId
-
toString
-
withProject
Creates permissions context with project defined by key -
withProject
Creates permissions context with project defined by id -
withIssue
Creates permissions context with issue defined by key -
withIssue
Creates permissions context with issue defined by id -
withAny
Creates permissions context for any project or issue
-