public class ConfluenceQueueMessage extends QueueMessage
QueueMessage.APIAnswer
Modifier and Type | Field and Description |
---|---|
private String |
authorKey
Since a job that is posting messages to the remote app, it will be posted with a technical authentication.
|
private String |
authorName
Same as authorKey, except it contains the author's Display Name.
|
static Boolean |
IS_PUBLIC_DESCRIPTION_PRE_DB_VALUE
Default value for isPublicDescription, for requirements which were known before the migration to RY 3.1.
|
static Boolean |
IS_PUBLIC_DESCRIPTION_PREv11_VALUE
Default value for isPublicDescription when it comes from APIv10 or lower.
|
private Boolean |
isPublicDescription
Required, starting from APIv11.
|
private String |
lastResponse
The message of the last synchronization (null if OK).
|
private Integer |
newBaseline |
private String |
newHtmlExcerpt |
private String |
newKey |
private String |
newSpaceKey |
private String |
newUrl |
private String |
status
Optional.
|
private String |
type
Type of message, one of
ConfluenceQueueMessageType . |
baseline, estate, ESTATE_DEFAULT, id, key, objectKey, relationship, spaceKey
Modifier | Constructor and Description |
---|---|
private |
ConfluenceQueueMessage() |
|
ConfluenceQueueMessage(ConfluenceQueueMessageType type,
String relationship,
String spaceKey,
String key,
Integer baseline,
String estate,
String objectKey,
String authorKey,
String authorName,
boolean isPublicDescription) |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorKey() |
String |
getAuthorName() |
String |
getLastResponse() |
Integer |
getNewBaseline() |
String |
getNewHtmlExcerpt() |
String |
getNewKey() |
String |
getNewSpaceKey() |
String |
getNewUrl() |
Boolean |
getPublicDescription() |
String |
getStatus() |
String |
getType() |
ConfluenceQueueMessageType |
getTypeAsEnum() |
void |
setAuthorNull()
Please call this method if you're sending messages to Jira API v0 or v1.
|
ConfluenceQueueMessage |
setMoved(String newSpaceKey,
String newKey,
Integer newBaseline,
String newUrl,
String newHtmlExcerpt) |
void |
setPublicDescription(Boolean publicDescription) |
void |
setStatus(String status,
String lastResponse) |
ConfluenceQueueMessage |
setUpdated(String newHtmlExcerpt,
String newUrl) |
getBaseline, getEstate, getId, getKey, getObjectKey, getRelationship, getSpaceKey, setId
private String type
ConfluenceQueueMessageType
.
We can't use the type 'ConfluenceQueueMessageType', because this bean is used in an API, and one version
of Confluence might have a more recent list than Jira.private String newHtmlExcerpt
private String newSpaceKey
private String newKey
private Integer newBaseline
private String newUrl
private String status
private String lastResponse
private String authorKey
private String authorName
private Boolean isPublicDescription
public static final Boolean IS_PUBLIC_DESCRIPTION_PREv11_VALUE
public static final Boolean IS_PUBLIC_DESCRIPTION_PRE_DB_VALUE
public ConfluenceQueueMessage setMoved(String newSpaceKey, String newKey, Integer newBaseline, String newUrl, String newHtmlExcerpt)
public ConfluenceQueueMessage setUpdated(String newHtmlExcerpt, String newUrl)
public void setAuthorNull()
public String getAuthorKey()
public String getAuthorName()
public String getNewKey()
public String getNewSpaceKey()
public Integer getNewBaseline()
@Nonnull public ConfluenceQueueMessageType getTypeAsEnum()
public String getType()
public String getNewHtmlExcerpt()
public String getNewUrl()
public String getLastResponse()
public String getStatus()
public Boolean getPublicDescription()
public void setPublicDescription(Boolean publicDescription)
Copyright © 2022 Requirement Yogi. All rights reserved.