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()
Creates a new empty Atlassian host (used by persistence mechanism).
|
| 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)
Used by persistence mechanism.
|
void |
setBaseUrl(String baseUrl)
Used by persistence mechanism.
|
void |
setClientKey(String clientKey)
Used by persistence mechanism.
|
void |
setCreatedBy(String createdBy)
Used by persistence mechanism.
|
void |
setCreatedDate(Calendar createdDate)
Used by persistence mechanism.
|
void |
setDescription(String description)
Used by persistence mechanism.
|
void |
setLastModifiedBy(String lastModifiedBy)
Used by persistence mechanism.
|
void |
setLastModifiedDate(Calendar lastModifiedDate)
Used by persistence mechanism.
|
void |
setOauthClientId(String oauthClientId)
Used by persistence mechanism.
|
void |
setProductType(String productType)
Used by persistence mechanism.
|
void |
setPublicKey(String publicKey)
Used by persistence mechanism.
|
void |
setServiceEntitlementNumber(String serviceEntitlementNumber)
Used by persistence mechanism.
|
void |
setSharedSecret(String sharedSecret)
Used by persistence mechanism.
|
String |
toString() |
public AtlassianHost()
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.