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 |
---|---|
com.atlassian.fugue.Option<Map<String,JSONObject>> |
CommentService.CommentUpdateValidationResult.getCommentProperties() |
Map<String,JSONObject> |
CommentService.CommentParameters.getCommentProperties() |
Modifier and Type | Method and Description |
---|---|
CommentService.CommentParameters.CommentParametersBuilder |
CommentService.CommentParameters.CommentParametersBuilder.commentProperties(Map<String,JSONObject> commentProperties) |
Constructor and Description |
---|
CommentUpdateValidationResult(SimpleErrorCollection errorCollection,
com.atlassian.fugue.Option<Map<String,JSONObject>> commentProperties,
com.atlassian.fugue.Option<Comment> comment) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
RestResources.EndPoint.get()
Invoke the GET HTTP method on this resource.
|
Modifier and Type | Method and Description |
---|---|
com.meterware.httpunit.WebResponse |
PluginsImpl.PUT(String url,
JSONObject json,
String mediaType) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
RestRule.getJSON(String url,
String... expand) |
Modifier and Type | Method and Description |
---|---|
com.meterware.httpunit.WebResponse |
RestRule.POST(String url,
JSONObject json) |
com.meterware.httpunit.WebResponse |
RestRule.PUT(String url,
JSONObject json) |
Modifier and Type | Method and Description |
---|---|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
ApplicationUser updateAuthor,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Date updated,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent,
boolean modifyIssueUpdateDate)
Creates a comment and associates it with the given issue.
|
Comment |
DefaultCommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent) |
Comment |
CommentManager.create(Issue issue,
ApplicationUser author,
String body,
String groupLevel,
Long roleLevelId,
Date created,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent)
Creates a comment and associates it with the given issue.
|
void |
DefaultCommentManager.update(Comment comment,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent) |
void |
CommentManager.update(Comment comment,
Map<String,JSONObject> commentProperties,
boolean dispatchEvent)
Persists the updated comment.
|
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 |
---|---|
boolean |
DefaultAttachmentIndexManager.TotalLengthPredicate.apply(JSONObject json) |
Modifier and Type | Method and Description |
---|---|
static Iterable<JSONObject> |
AttachmentArchiveImpl.serialize(List<AttachmentArchiveEntry> entries) |
Modifier and Type | Method and Description |
---|---|
RemoteResponse<JSONObject> |
RemoteJiraRestServiceImpl.createRemoteIssueLink(com.atlassian.applinks.api.ApplicationLink applicationLink,
String remoteIssueKey,
Issue issue,
String relationship,
RemoteJiraRestService.RestVersion restVersion) |
RemoteResponse<JSONObject> |
RemoteJiraRestService.createRemoteIssueLink(com.atlassian.applinks.api.ApplicationLink applicationLink,
String remoteIssueKey,
Issue issue,
String relationship,
RemoteJiraRestService.RestVersion restVersion)
Creates a remote issue link between the given remote issue and the given local issue.
|
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 JSONObject |
SharePermissionUtils.toJson(SharePermission permission)
Convert the passed permission into a JSON object.
|
Modifier and Type | Method and Description |
---|---|
static SharePermission |
SharePermissionUtils.fromJsonObject(JSONObject json)
Return a SharePermission from a JSON object.
|
Modifier and Type | Method and Description |
---|---|
static JSONObject |
UserFilterUtils.toJson(UserFilter userFilter,
ProjectRoleManager projectRoleManager)
Convert the
userFilter to JSONObject |
Modifier and Type | Method and Description |
---|---|
static RemoteUser |
RemoteUser.from(JSONObject user) |
static UserFilter |
UserFilterUtils.fromJson(JSONObject json) |
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.
|
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.
|
JSONObject |
JSONArray.optJSONObject(int index)
Get the optional JSONObject associated with an index.
|
JSONObject |
JSONObject.optJSONObject(String key)
Get an optional JSONObject associated with a key.
|
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.
|
JSONObject |
JSONArray.toJSONObject(JSONArray names)
Produce a JSONObject by combining a JSONArray of names with the values
of this JSONArray.
|
Modifier and Type | Method and Description |
---|---|
static String[] |
JSONObject.getNames(JSONObject jo)
Get an array of field names from a JSONObject.
|
Constructor and Description |
---|
JSONObject(JSONObject jo,
String[] names)
Construct a JSONObject from a subset of another JSONObject.
|
Modifier and Type | Method and Description |
---|---|
JSONObject |
RestFuncTest.getJSON(String url,
String... expand) |
protected JSONObject |
TestUserPropertyResource.value(int value) |
Modifier and Type | Method and Description |
---|---|
protected com.meterware.httpunit.WebResponse |
TestLogin.loginAs(JSONObject json) |
com.meterware.httpunit.WebResponse |
RestFuncTest.POST(String url,
JSONObject json) |
protected com.meterware.httpunit.WebResponse |
TestLogin.provokeCaptchaFailure(JSONObject badCredentials) |
com.meterware.httpunit.WebResponse |
RestFuncTest.PUT(String url,
JSONObject json) |
Modifier and Type | Method and Description |
---|---|
protected com.meterware.httpunit.WebResponse |
TestConcurrentAttributeUpdates.loginAs(JSONObject json) |
Copyright © 2002-2015 Atlassian. All Rights Reserved.