public class AtlassianHost extends Object
AtlassianHostRepository.
During processing of a request from an Atlassian host, the details of the host and of the user at the browser can
be obtained from the AtlassianHostUser.
AtlassianHostRepository| Constructor and Description |
|---|
AtlassianHost() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getBaseUrl()
The URL prefix for the Atlassian product instance.
|
String |
getClientKey()
The identifying key for the Atlassian product instance that the add-on was installed into.
|
String |
getCreatedBy()
The key of the Atlassian user that first installed the add-on on the host, if any.
|
Calendar |
getCreatedDate()
The time at which the add-on was first installed on the host.
|
String |
getDescription()
The host product description.
|
String |
getLastModifiedBy()
The key of the Atlassian user that last modified the add-on installation, if any.
|
Calendar |
getLastModifiedDate()
The time at which the add-on installation was last modified.
|
String |
getOauthClientId()
Returns the client identifier for use with OAuth 2.0 authentication.
|
String |
getProductType()
The identifier of the category of Atlassian product.
|
String |
getPublicKey()
Deprecated.
No replacement.
|
String |
getServiceEntitlementNumber()
The Support Entitlement Number (SEN) is the add-on license identifier.
|
String |
getSharedSecret()
The shared secret issued by the Atlassian product instance on installation of the add-on.
|
int |
hashCode() |
boolean |
isAddonInstalled()
Returns true if the add-on is currently installed on the host.
|
void |
setAddonInstalled(boolean addonInstalled) |
void |
setBaseUrl(String baseUrl) |
void |
setClientKey(String clientKey) |
void |
setCreatedBy(String createdBy) |
void |
setCreatedDate(Calendar createdDate) |
void |
setDescription(String description) |
void |
setLastModifiedBy(String lastModifiedBy) |
void |
setLastModifiedDate(Calendar lastModifiedDate) |
void |
setOauthClientId(String oauthClientId) |
void |
setProductType(String productType) |
void |
setPublicKey(String publicKey) |
void |
setServiceEntitlementNumber(String serviceEntitlementNumber) |
void |
setSharedSecret(String sharedSecret) |
public String getClientKey()
public void setClientKey(String clientKey)
public String getPublicKey()
public void setPublicKey(String publicKey)
public String getOauthClientId()
public void setOauthClientId(String oauthClientId)
public String getSharedSecret()
public void setSharedSecret(String sharedSecret)
public String getBaseUrl()
public void setBaseUrl(String baseUrl)
public String getProductType()
jira or confluencepublic void setProductType(String productType)
public String getDescription()
public void setDescription(String description)
public String getServiceEntitlementNumber()
public void setServiceEntitlementNumber(String serviceEntitlementNumber)
public boolean isAddonInstalled()
false.public void setAddonInstalled(boolean addonInstalled)
public Calendar getCreatedDate()
public void setCreatedDate(Calendar createdDate)
public Calendar getLastModifiedDate()
public void setLastModifiedDate(Calendar lastModifiedDate)
public String getCreatedBy()
public void setCreatedBy(String createdBy)
public String getLastModifiedBy()
public void setLastModifiedBy(String lastModifiedBy)
Copyright © 2017 Atlassian. All rights reserved.