@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 @NotNull TrustedKey |
from(@Nullable 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 @NotNull TrustedKey from(@Nullable @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 © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.