@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 BambooIdProvider
public void setId(long id)
setId
in interface BambooObject
public String getKey()
getKey
in interface TrustedKey
public boolean isApproved()
isApproved
in interface TrustedKey
public String getHost()
getHost
in interface TrustedKey
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.