public class TestSharingPermissionUtils extends Object
Constructor and Description |
---|
TestSharingPermissionUtils() |
Modifier and Type | Method and Description |
---|---|
static Set<TestSharingPermission> |
createAuthenticatedPermissions() |
static Set<TestSharingPermission> |
createGroupPermissions(String group) |
static String |
createJsonString(Set<? extends TestSharingPermission> permissions) |
static Set<TestSharingPermission> |
createPrivatePermissions() |
static Set<TestSharingPermission> |
createProjectPermissions(long projId,
long roleId,
String projectName,
String roleName) |
static Set<TestSharingPermission> |
createPublicPermissions() |
static Set<TestSharingPermission> |
parsePermissions(String json) |
public static Set<TestSharingPermission> parsePermissions(String json) throws JSONException
JSONException
public static String createJsonString(Set<? extends TestSharingPermission> permissions)
public static Set<TestSharingPermission> createPublicPermissions()
public static Set<TestSharingPermission> createAuthenticatedPermissions()
public static Set<TestSharingPermission> createGroupPermissions(String group)
public static Set<TestSharingPermission> createProjectPermissions(long projId, long roleId, String projectName, String roleName)
public static Set<TestSharingPermission> createPrivatePermissions()
Copyright © 2002-2021 Atlassian. All Rights Reserved.