public class SimpleTestSharingPermission extends Object implements TestSharingPermission
TestSharingPermission.JSONConstants
Constructor and Description |
---|
SimpleTestSharingPermission(SimpleTestSharingPermission permission) |
SimpleTestSharingPermission(String type) |
SimpleTestSharingPermission(String type,
String perm1) |
SimpleTestSharingPermission(String type,
String perm1,
String perm2) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getPerm1() |
String |
getPerm2() |
String |
getType() |
int |
hashCode() |
static SimpleTestSharingPermission |
parseJson(TestJSONObject json) |
String |
toDisplayFormat() |
TestJSONObject |
toJson() |
SimpleTestSharingPermission |
toSimplePermission() |
String |
toString() |
public SimpleTestSharingPermission(SimpleTestSharingPermission permission)
public SimpleTestSharingPermission(String type)
public String getType()
public String getPerm1()
public String getPerm2()
public TestJSONObject toJson()
toJson
in interface TestSharingPermission
public SimpleTestSharingPermission toSimplePermission()
public static SimpleTestSharingPermission parseJson(TestJSONObject json) throws TestJSONException
TestJSONException
public String toDisplayFormat()
toDisplayFormat
in interface TestSharingPermission
Copyright © 2002-2017 Atlassian. All Rights Reserved.