|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.buildqueue.ImmutableRemoteAgentAuthentication
public class ImmutableRemoteAgentAuthentication
Immutable business object representing remote agent authentication request.
| Constructor Summary | |
|---|---|
ImmutableRemoteAgentAuthentication(RemoteAgentAuthenticationEntity entity)
|
|
ImmutableRemoteAgentAuthentication(java.util.UUID uuid,
java.lang.String ip)
|
|
ImmutableRemoteAgentAuthentication(java.util.UUID uuid,
java.lang.String ip,
boolean approved)
|
|
| Method Summary | |
|---|---|
int |
compareTo(RemoteAgentAuthentication other)
|
boolean |
equals(java.lang.Object o)
|
long |
getId()
|
java.lang.String |
getIp()
IP address of the agent requesting approval. |
java.util.Set<java.lang.String> |
getIpPatterns()
|
java.util.UUID |
getUuid()
UUID of this authentication request. |
int |
hashCode()
|
boolean |
isApproved()
Whether this request was approved, or is still pending approval |
boolean |
matches(java.lang.String ip)
For authentication pending approval this must be full match (equals), otherwise wildcard match will be attempted. |
boolean |
matches(java.util.UUID uuid,
java.lang.String ip)
Check if matches given uuid and ip. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ImmutableRemoteAgentAuthentication(@NotNull
java.util.UUID uuid,
@NotNull
java.lang.String ip)
public ImmutableRemoteAgentAuthentication(@NotNull
java.util.UUID uuid,
@NotNull
java.lang.String ip,
boolean approved)
public ImmutableRemoteAgentAuthentication(RemoteAgentAuthenticationEntity entity)
| Method Detail |
|---|
public java.util.UUID getUuid()
RemoteAgentAuthentication
getUuid in interface RemoteAgentAuthenticationpublic java.lang.String getIp()
RemoteAgentAuthentication
getIp in interface RemoteAgentAuthenticationpublic boolean isApproved()
RemoteAgentAuthentication
isApproved in interface RemoteAgentAuthenticationtrue, if this authentication request has been approvedpublic java.util.Set<java.lang.String> getIpPatterns()
getIpPatterns in interface RemoteAgentAuthentication
public boolean matches(@NotNull
java.lang.String ip)
ip - IP address to match
true, if this authentication matches ipRemoteAgentAuthentications.matching(String)
public boolean matches(java.util.UUID uuid,
java.lang.String ip)
matches(String).
uuid - UUIDip - IP
true, if this authentication matches given uuid and ipRemoteAgentAuthentications.matching(java.util.UUID, String)public int compareTo(RemoteAgentAuthentication other)
compareTo in interface java.lang.Comparable<RemoteAgentAuthentication>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic long getId()
getId in interface BambooIdProvider
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||