@Immutable public class TrustedKeyDTO extends Object implements TrustedKey
| Modifier and Type | Field and Description |
|---|---|
static Function<TrustedKey,TrustedKeyDTO> |
CONVERTER |
| Constructor and Description |
|---|
TrustedKeyDTO() |
TrustedKeyDTO(String host,
String key) |
TrustedKeyDTO(TrustedKey trustedKey) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
static TrustedKey |
from(String string) |
String |
getHost() |
long |
getId() |
String |
getKey() |
int |
hashCode() |
boolean |
isApproved() |
void |
setId(long id) |
public static Function<TrustedKey,TrustedKeyDTO> CONVERTER
public TrustedKeyDTO(TrustedKey trustedKey)
public TrustedKeyDTO()
@NotNull public static TrustedKey from(@Nullable String string)
public long getId()
getId in interface BambooIdProviderpublic void setId(long id)
setId in interface BambooObjectpublic String getKey()
getKey in interface TrustedKeypublic boolean isApproved()
isApproved in interface TrustedKeypublic String getHost()
getHost in interface TrustedKeyCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.