public class MyPermissionsInput extends Object
MyPermissionsRestClient
Constructor and Description |
---|
MyPermissionsInput(String projectKey,
Integer projectId,
String issueKey,
Integer issueId)
Creates permissions context
|
Modifier and Type | Method and Description |
---|---|
Integer |
getIssueId() |
String |
getIssueKey() |
Integer |
getProjectId() |
String |
getProjectKey() |
String |
toString() |
static MyPermissionsInput |
withAny()
Creates permissions context for any project or issue
|
static MyPermissionsInput |
withIssue(int issueId)
Creates permissions context with issue defined by id
|
static MyPermissionsInput |
withIssue(String issueKey)
Creates permissions context with issue defined by key
|
static MyPermissionsInput |
withProject(int projectId)
Creates permissions context with project defined by id
|
static MyPermissionsInput |
withProject(String projectKey)
Creates permissions context with project defined by key
|
public MyPermissionsInput(@Nullable String projectKey, @Nullable Integer projectId, @Nullable String issueKey, @Nullable Integer issueId)
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 forpublic static MyPermissionsInput withProject(String projectKey)
public static MyPermissionsInput withProject(int projectId)
public static MyPermissionsInput withIssue(String issueKey)
public static MyPermissionsInput withIssue(int issueId)
public static MyPermissionsInput withAny()
Copyright © 2016 Atlassian. All rights reserved.