Modifier and Type | Method and Description |
---|---|
static RemoteAvatar |
RemoteAvatar.from(JSONObject avatarUrls)
Build an Avatar representation for a remote object.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
FuncTestRestClient.getJSON(String url,
String... expand) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
RestResources.EndPoint.get()
Invoke the GET HTTP method on this resource.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
RestRule.getJSON(String url,
String... expand)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static SimpleTestSharingPermission |
SimpleTestSharingPermission.parseJson(JSONObject json) |
static GlobalTestSharingPermission |
GlobalTestSharingPermission.parseJson(JSONObject json) |
static GroupTestSharingPermission |
GroupTestSharingPermission.parseJson(JSONObject json) |
static ProjectTestSharingPermission |
ProjectTestSharingPermission.parseJson(JSONObject json) |
static AuthenticatedTestSharingPermission |
AuthenticatedTestSharingPermission.parseJson(JSONObject json) |
static Set<TestSharingPermission> |
TestSharingPermissionUtils.parsePermissions(String json) |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableMap<String,JSONObject> |
CommentSystemField.getCommentPropertiesFromParameters(Map<String,Object> commentParams) |
Modifier and Type | Method and Description |
---|---|
void |
LastJqlFieldsServiceImpl.addOneField(ApplicationUser user,
String field) |
void |
LastJqlFieldsService.addOneField(ApplicationUser user,
String field) |
void |
LastJqlFieldsServiceImpl.addSomeFields(ApplicationUser user,
Collection<String> fields) |
void |
LastJqlFieldsService.addSomeFields(ApplicationUser user,
Collection<String> fields) |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractConfluenceRestResponseHandler.fullConfluenceUrl(JSONObject links) |
protected String |
AbstractConfluenceRestResponseHandler.getBaseUrl(JSONObject responseObj) |
ConfluencePage |
ConfluenceRestContentResponseHandler.parseJsonResponse(JSONObject responseObj,
ErrorCollection errors) |
Modifier and Type | Method and Description |
---|---|
String |
ViewRecords.getCurrentParams() |
String |
ViewRecords.getDatePickerParams() |
String |
Settings.getRetentionPeriodWarningTranslationsJson() |
Modifier and Type | Method and Description |
---|---|
static RemoteProject |
RemoteProject.from(com.atlassian.applinks.api.ApplicationLink applicationLink,
JSONObject jsonObject) |
Modifier and Type | Method and Description |
---|---|
static SharedEntity.SharePermissions |
SharePermissionUtils.fromJsonArray(JSONArray array)
Convert the passed array into SharePermissions.
|
static SharedEntity.SharePermissions |
SharePermissionUtils.fromJsonArrayString(String jsonString) |
static SharePermission |
SharePermissionUtils.fromJsonObject(JSONObject json)
Return a SharePermission from a JSON object.
|
static SharePermission |
SharePermissionUtils.fromJsonObjectString(String jsonString)
Create a SharePermission from the passed JSON string.
|
static JSONObject |
SharePermissionUtils.getShareRightsJson(ShareRight shareRight) |
static JSONObject |
SharePermissionUtils.toJson(SharePermission permission)
Convert the passed permission into a JSON object.
|
static JSONArray |
SharePermissionUtils.toJsonArray(Collection<SharePermission> permissions)
Converts the passed SharePermissions into a JSON array.
|
Modifier and Type | Method and Description |
---|---|
static RemoteUser |
RemoteUser.from(JSONObject user) |
static UserFilter |
UserFilterUtils.fromJson(JSONObject json) |
static UserFilter |
UserFilterUtils.fromJsonString(String jsonString) |
static JSONObject |
UserFilterUtils.toJson(UserFilter userFilter,
ProjectRoleManager projectRoleManager)
Convert the
userFilter to JSONObject |
Modifier and Type | Method and Description |
---|---|
JSONObject |
JSONObject.accumulate(String key,
Object value)
Accumulate values under a key.
|
JSONObject |
JSONObject.append(String key,
Object value)
Append values to the array under a key.
|
Object |
JSONArray.get(int index)
Get the object value associated with an index.
|
Object |
JSONObject.get(String key)
Get the value object associated with a key.
|
boolean |
JSONArray.getBoolean(int index)
Get the boolean value associated with an index.
|
boolean |
JSONObject.getBoolean(String key)
Get the boolean value associated with a key.
|
double |
JSONArray.getDouble(int index)
Get the double value associated with an index.
|
double |
JSONObject.getDouble(String key)
Get the double value associated with a key.
|
int |
JSONArray.getInt(int index)
Get the int value associated with an index.
|
int |
JSONObject.getInt(String key)
Get the int value associated with a key.
|
JSONArray |
JSONArray.getJSONArray(int index)
Get the JSONArray associated with an index.
|
JSONArray |
JSONObject.getJSONArray(String key)
Get the JSONArray value associated with a key.
|
JSONObject |
JSONArray.getJSONObject(int index)
Get the JSONObject associated with an index.
|
JSONObject |
JSONObject.getJSONObject(String key)
Get the JSONObject value associated with a key.
|
long |
JSONArray.getLong(int index)
Get the long value associated with an index.
|
long |
JSONObject.getLong(String key)
Get the long value associated with a key.
|
String |
JSONArray.getString(int index)
Get the string associated with an index.
|
String |
JSONObject.getString(String key)
Get the string associated with a key.
|
String |
JSONArray.join(String separator)
Make a string from the contents of this JSONArray.
|
char |
JSONTokener.next(char c)
Consume the next character, and check that it matches a specified
character.
|
String |
JSONTokener.next(int n)
Get the next n characters.
|
char |
JSONTokener.nextClean()
Get the next char in the string, skipping whitespace
and comments (slashslash, slashstar, and hash).
|
String |
JSONTokener.nextString(char quote)
Return the characters up to the next close quote character.
|
Object |
JSONTokener.nextValue()
Get the next value.
|
static String |
JSONObject.numberToString(Number n)
Produce a string from a Number.
|
JSONArray |
JSONArray.put(double value)
Append a double value.
|
JSONArray |
JSONArray.put(int index,
boolean value)
Put or replace a boolean value in the JSONArray.
|
JSONArray |
JSONArray.put(int index,
Collection<? extends Object> value)
Put a value in the JSONArray, where the value will be a
JSONArray which is produced from a Collection.
|
JSONArray |
JSONArray.put(int index,
double value)
Put or replace a double value.
|
JSONArray |
JSONArray.put(int index,
int value)
Put or replace an int value.
|
JSONArray |
JSONArray.put(int index,
long value)
Put or replace a long value.
|
JSONArray |
JSONArray.put(int index,
Map<String,Object> value)
Put a value in the JSONArray, where the value will be a
JSONObject which is produced from a Map.
|
JSONArray |
JSONArray.put(int index,
Object value)
Put or replace an object value in the JSONArray.
|
JSONObject |
JSONObject.put(String key,
boolean value)
Put a key/boolean pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Collection<Object> values)
Put a key/value pair in the JSONObject, where the value will be a
JSONArray which is produced from a Collection.
|
JSONObject |
JSONObject.put(String key,
double value)
Put a key/double pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
int value)
Put a key/int pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
long value)
Put a key/long pair in the JSONObject.
|
JSONObject |
JSONObject.put(String key,
Map<String,Object> value)
Put a key/value pair in the JSONObject, where the value will be a
JSONObject which is produced from a Map.
|
JSONObject |
JSONObject.put(String key,
Object value)
Put a key/value pair in the JSONObject.
|
JSONObject |
JSONObject.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.
|
void |
JSONTokener.syntaxError(String message)
Make a JSONException to signal a syntax error.
|
JSONArray |
JSONObject.toJSONArray(JSONArray names)
Produce a JSONArray containing the values of the members of this
JSONObject.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
|
String |
JSONObject.toString(int indentFactor)
Make a pretty-printed JSON text of this JSONObject.
|
String |
JSONArray.toString(int indentFactor)
Make a prettyprinted JSON text of this JSONArray.
|
Writer |
JSONObject.write(Writer writer)
Write the contents of the JSONObject as JSON text to a writer.
|
Writer |
JSONArray.write(Writer writer)
Write the contents of the JSONArray as JSON text to a writer.
|
Constructor and Description |
---|
JSONArray(JSONTokener x)
Construct a JSONArray from a JSONTokener.
|
JSONArray(Object array)
Construct a JSONArray from an array
|
JSONArray(String source)
Construct a JSONArray from a source JSON text.
|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
JSONObject(JSONTokener x)
Construct a JSONObject from a JSONTokener.
|
JSONObject(String source)
Construct a JSONObject from a source JSON text string.
|
Modifier and Type | Method and Description |
---|---|
String |
EditCustomFieldUserPickerFilter.doSave() |
Modifier and Type | Method and Description |
---|---|
String |
SetupMode.doGetInstalledLocales() |
String |
SetupMode.doGetLanguageTexts() |
String |
SetupFinishing.doSetupFinished() |
String |
SetupFinishing.doTriggerSetup() |
String |
SetupAccount.getErrorTextsJson() |
String |
SetupMode.getLanguageTextsJson() |
String |
SetupAccount.getLicenseFlagTextsJson() |
Modifier and Type | Method and Description |
---|---|
String |
DefaultAutoCompleteJsonGenerator.getJqlReservedWordsJson() |
String |
AutoCompleteJsonGenerator.getJqlReservedWordsJson() |
String |
DefaultAutoCompleteJsonGenerator.getVisibleFieldNamesJson(ApplicationUser user,
Locale locale) |
String |
AutoCompleteJsonGenerator.getVisibleFieldNamesJson(ApplicationUser user,
Locale locale)
Will return an array of JSON objects containing the field names that the user can see, listed in alphabetical order.
|
String |
DefaultAutoCompleteJsonGenerator.getVisibleFunctionNamesJson(ApplicationUser user,
Locale locale) |
String |
AutoCompleteJsonGenerator.getVisibleFunctionNamesJson(ApplicationUser user,
Locale locale)
Will return an array of JSON objects containing the functions names that are available in the system, listed in alphabetical order.
|
Modifier and Type | Method and Description |
---|---|
void |
TestPulpApplinksSection.applinksShouldLeadToApplinksPage() |
void |
TestPulpApplinksSection.pulpShouldDisplayApplinksSectionWhenApplinksArePresent() |
void |
TestPulpApplinksSection.pulpShouldNotDisplayApplinksSectionWhenApplinksAreAbsent() |
Modifier and Type | Method and Description |
---|---|
void |
TestIssuePropertyResource.creatingNewIssueProperty() |
void |
TestIssuePropertyResource.deletingProperties() |
JSONObject |
RestFuncTest.getJSON(String url,
String... expand)
Deprecated.
Inject
FuncTestRestClient instead. |
void |
TestAttachTemporaryFileResource.testAttachmentsDisabled() |
void |
TestAttachTemporaryFileResource.testAttachmentToBig() |
void |
TestAttachTemporaryFileResource.testBadXsrfAttach() |
void |
TestRoleResource.testGetSelfForEachRole() |
void |
TestIssuePropertyAliasing.testJsonValueIsIgnored() |
void |
TestAttachTemporaryFileResource.testNoAttachPermission() |
void |
TestIssuePropertyAliasing.testNullValueIsIgnored() |
void |
TestIssuePropertyResource.testPropertiesAreRemovedWhenIssueIsRemoved() |
void |
TestProjectPropertyResource.testPropertiesAreRemovedWhenProjectIsRemoved() |
Modifier and Type | Method and Description |
---|---|
void |
TestCustomFieldUserPicker.testSetDefaultValueWithUserFilter() |
void |
TestCustomFieldUserPicker.testSetValueWithUserFilterByGroups() |
void |
TestCustomFieldUserPicker.testSetValueWithUserFilterByProjectRoles() |
void |
TestCustomFieldUserPicker.testUserFilterSelection() |
Modifier and Type | Method and Description |
---|---|
void |
TestCustomFieldTypeVersionedRepresentations.testVersionedRepresentationsAreInSearch() |
Modifier and Type | Method and Description |
---|---|
void |
TestFavouriteAndMyFilters.testRestEndpointWithLargeGroups() |
Modifier and Type | Method and Description |
---|---|
void |
TestEntityPropertyEqualToCondition.testPanelInIssueViewIsDisplayedWhenUserPropertyConditionEvalTrue() |
void |
TestEntityPropertyEqualToCondition.testPanelInIssueViewIsNotDisplayedWhenUserPropertyConditionEvalFalse() |
void |
TestEntityPropertyEqualToCondition.testWebItemInProjectViewIsDisplayedWhenProjectPropertyConditionEvalTrue() |
void |
TestEntityPropertyEqualToCondition.testWebItemInProjectViewIsDisplayedWhenUserPropertyConditionEvalTrue() |
void |
TestEntityPropertyEqualToCondition.testWebItemInProjectViewIsNotDisplayedWhenProjectPropertyConditionEvalFalse() |
void |
TestEntityPropertyEqualToCondition.testWebItemInProjectViewIsNotDisplayedWhenUserPropertyConditionEvalFalse() |
Modifier and Type | Method and Description |
---|---|
void |
TestPlatformCompatibility.testCtk() |
Modifier and Type | Method and Description |
---|---|
void |
TestArchiveProject.testReindexRestoredProject() |
Copyright © 2002-2019 Atlassian. All Rights Reserved.