public class RemoteAgentAuthenticationImpl extends BambooEntityObject implements RemoteAgentAuthenticationEntity
RemoteAgentAuthenticationEntity
.Constructor and Description |
---|
RemoteAgentAuthenticationImpl() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RemoteAgentAuthenticationEntity other) |
boolean |
equals(Object o) |
String |
getIp()
IP address of the agent requesting approval.
|
Set<String> |
getIpPatterns() |
UUID |
getUuid()
UUID of this authentication request.
|
String |
getUuidAsString()
UUID converted to String
|
int |
hashCode() |
boolean |
isApproved()
Whether this request was approved, or is still pending approval
|
void |
setApproved(boolean isApproved)
Set whether this authentication has been approved.
|
void |
setIp(String ip)
Set IP address of this authentication.
|
void |
setUuid(UUID uuid)
Set unique ID of this authentication
|
void |
setUuidAsString(String uuidAsString)
Set value of UUID from String.
|
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
setId
getId
public String getIp()
RemoteAgentAuthentication
getIp
in interface RemoteAgentAuthentication
public void setIp(@NotNull String ip)
RemoteAgentAuthenticationEntity
setIp
in interface RemoteAgentAuthenticationEntity
ip
- IP addresspublic UUID getUuid()
RemoteAgentAuthentication
getUuid
in interface RemoteAgentAuthentication
public void setUuid(UUID uuid)
RemoteAgentAuthenticationEntity
setUuid
in interface RemoteAgentAuthenticationEntity
uuid
- UUIDpublic String getUuidAsString()
RemoteAgentAuthenticationEntity
getUuidAsString
in interface RemoteAgentAuthenticationEntity
public void setUuidAsString(String uuidAsString)
RemoteAgentAuthenticationEntity
setUuidAsString
in interface RemoteAgentAuthenticationEntity
uuidAsString
- string representation of uuidpublic boolean isApproved()
RemoteAgentAuthentication
isApproved
in interface RemoteAgentAuthentication
true
, if this authentication request has been approvedpublic void setApproved(boolean isApproved)
RemoteAgentAuthenticationEntity
setApproved
in interface RemoteAgentAuthenticationEntity
isApproved
- true
, if this authentication has been approvedpublic Set<String> getIpPatterns()
getIpPatterns
in interface RemoteAgentAuthentication
public int compareTo(RemoteAgentAuthenticationEntity other)
compareTo
in interface Comparable<RemoteAgentAuthenticationEntity>
public boolean equals(Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.