public class IntegrationDescriptor extends Object
Modifier and Type | Field and Description |
---|---|
private com.atlassian.applinks.api.ApplicationLink |
applink |
private String |
applinkId
The applink Id.
|
private long |
countMessagesInQueue
Count of messages awaiting to be read.
|
private String |
displayUrl |
private String |
endpoint |
private String |
label |
private String |
rpcUrl |
private String |
serviceId |
private String |
status |
private String |
userKey
userKey => String value of the UserKey
It is persisted in the database
|
private String |
username
The username matching the userKey.
|
private int |
version
Version of the API exposed by the third party.
|
Constructor and Description |
---|
IntegrationDescriptor() |
IntegrationDescriptor(com.playsql.requirementyogi.ao.v33.AOIntegration aoDescriptor) |
IntegrationDescriptor(com.atlassian.applinks.api.ApplicationLink applink) |
Modifier and Type | Method and Description |
---|---|
void |
computeUsername(com.atlassian.confluence.user.UserAccessor userAccessor)
Computes the 'username' field based on the 'userKey' field, if available.
|
com.atlassian.applinks.api.ApplicationLink |
getApplink() |
String |
getApplinkId() |
long |
getCountMessagesInQueue() |
String |
getDisplayUrl() |
String |
getEndpoint() |
String |
getLabel() |
String |
getRpcUrl() |
String |
getServiceId() |
String |
getStatus() |
String |
getUserKey() |
String |
getUsername() |
int |
getVersion() |
boolean |
isApplink() |
boolean |
isDisabled() |
boolean |
isJiraApplink() |
boolean |
isVersionAbove(long i) |
static IntegrationDescriptor |
of(com.playsql.requirementyogi.ao.v33.AOIntegration aoDesscriptor) |
void |
setApplink(com.atlassian.applinks.api.ApplicationLink applink) |
void |
setApplinkId(String applinkId) |
void |
setCountMessagesInQueue(long countMessagesInQueue) |
void |
setDisplayUrl(String displayUrl) |
void |
setEndpoint(String endpoint) |
void |
setLabel(String label) |
void |
setRpcUrl(String rpcUrl) |
void |
setServiceId(String serviceId) |
void |
setStatus(String status) |
void |
setUserKey(String userKey) |
void |
setUsername(String username) |
void |
setVersion(int version) |
String |
toString() |
private String serviceId
private String applinkId
private String label
private String displayUrl
private String rpcUrl
private String endpoint
private String userKey
private String username
private int version
APIVersions.getAPIVersions()
private long countMessagesInQueue
private String status
AOIntegration.STATUS_DISABLED
private transient com.atlassian.applinks.api.ApplicationLink applink
public IntegrationDescriptor()
public IntegrationDescriptor(com.atlassian.applinks.api.ApplicationLink applink)
public IntegrationDescriptor(com.playsql.requirementyogi.ao.v33.AOIntegration aoDescriptor)
public static IntegrationDescriptor of(com.playsql.requirementyogi.ao.v33.AOIntegration aoDesscriptor)
public void setApplink(com.atlassian.applinks.api.ApplicationLink applink)
public String getApplinkId()
public String getServiceId()
public String getLabel()
public String getDisplayUrl()
public String getRpcUrl()
public void setApplinkId(String applinkId)
public void setServiceId(String serviceId)
public void setLabel(String label)
public void setDisplayUrl(String displayUrl)
public void setRpcUrl(String rpcUrl)
public void setVersion(int version)
public int getVersion()
public long getCountMessagesInQueue()
public void setCountMessagesInQueue(long countMessagesInQueue)
public String getEndpoint()
public void setEndpoint(String endpoint)
public com.atlassian.applinks.api.ApplicationLink getApplink()
public boolean isVersionAbove(long i)
public boolean isApplink()
public String getStatus()
public void setStatus(String status)
public boolean isDisabled()
public String getUsername()
public void setUserKey(String userKey)
public String getUserKey()
public void setUsername(String username)
public boolean isJiraApplink()
public void computeUsername(com.atlassian.confluence.user.UserAccessor userAccessor)
Copyright © 2020 Play SQL. All rights reserved.