Package | Description |
---|---|
com.atlassian.jira.functest.framework.sharing | |
com.atlassian.jira.functest.framework.util.json |
Modifier and Type | Method and Description |
---|---|
TestJSONObject |
GroupTestSharingPermission.toJson() |
TestJSONObject |
GlobalTestSharingPermission.toJson() |
TestJSONObject |
ProjectTestSharingPermission.toJson() |
TestJSONObject |
TestSharingPermission.toJson() |
TestJSONObject |
AuthenticatedTestSharingPermission.toJson() |
TestJSONObject |
SimpleTestSharingPermission.toJson() |
Modifier and Type | Method and Description |
---|---|
static GroupTestSharingPermission |
GroupTestSharingPermission.parseJson(TestJSONObject json) |
static GlobalTestSharingPermission |
GlobalTestSharingPermission.parseJson(TestJSONObject json) |
static ProjectTestSharingPermission |
ProjectTestSharingPermission.parseJson(TestJSONObject json) |
static AuthenticatedTestSharingPermission |
AuthenticatedTestSharingPermission.parseJson(TestJSONObject json) |
static SimpleTestSharingPermission |
SimpleTestSharingPermission.parseJson(TestJSONObject json) |
Modifier and Type | Method and Description |
---|---|
TestJSONObject |
TestJSONObject.accumulate(String key,
Object value)
Accumulate values under a key.
|
TestJSONObject |
TestJSONObject.append(String key,
Object value)
Append values to the array under a key.
|
TestJSONObject |
TestJSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
TestJSONObject |
TestJSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
TestJSONObject |
TestJSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index.
|
TestJSONObject |
TestJSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key.
|
TestJSONObject |
TestJSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
TestJSONObject |
TestJSONObject.put(String key,
Collection value)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
TestJSONObject |
TestJSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject.
|
TestJSONObject |
TestJSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject.
|
TestJSONObject |
TestJSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject.
|
TestJSONObject |
TestJSONObject.put(String key,
Map value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
TestJSONObject |
TestJSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
TestJSONObject |
TestJSONObject.putOpt(String key,
Object value)
Put a key/value pair in the JSONObject, but only if the
key and the value are both non-null.
|
TestJSONObject |
TestJSONArray.toJSONObject(TestJSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
TestJSONObject.getNames(TestJSONObject jo)
Get an array of field names from a JSONObject.
|
Constructor and Description |
---|
TestJSONObject(TestJSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
Copyright © 2002-2017 Atlassian. All Rights Reserved.