|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.buildqueue.RemoteAgentAuthentications
public final class RemoteAgentAuthentications
Utilities related to remote agent authentications.
| Method Summary | |
|---|---|
static com.google.common.base.Function<RemoteAgentAuthenticationEntity,ImmutableRemoteAgentAuthentication> |
fromEntity()
|
static com.google.common.base.Function<RemoteAgentAuthentication,java.lang.String> |
getUuidAsString()
|
static java.util.Set<java.lang.String> |
ipStringToSet(java.lang.String ip)
|
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
isApproved()
|
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
isPending()
|
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
matching(java.lang.String requestIps)
Predicate checking if given authentication matches the ip. |
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
matching(java.util.UUID uuid)
Predicate checking if an authentication matches given uuid. |
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
matching(java.util.UUID uuid,
java.lang.String ip)
A combination of matching(String) and matching(java.util.UUID). |
static com.google.common.base.Predicate<RemoteAgentAuthentication> |
matchingUuidOf(java.lang.Iterable<RemoteAgentAuthentication> authentications)
|
static com.google.common.base.Function<RemoteAgentAuthentication,RemoteAgentAuthenticationEntity> |
toEntity(RemoteAgentAuthenticationDao agentAuthenticationDao)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static com.google.common.base.Function<RemoteAgentAuthentication,java.lang.String> getUuidAsString()
public static com.google.common.base.Predicate<RemoteAgentAuthentication> matching(@NotNull
java.lang.String requestIps)
requestIps - coma separated list of IP addresses to match
true, if the verified authentication matches ip
public static com.google.common.base.Predicate<RemoteAgentAuthentication> matching(@NotNull
java.util.UUID uuid)
true.
uuid - UUID to check against
public static com.google.common.base.Predicate<RemoteAgentAuthentication> matching(@NotNull
java.util.UUID uuid,
@NotNull
java.lang.String ip)
matching(String) and matching(java.util.UUID).
uuid - UUID to match againstip - coma separated list of IP addresses to match
matching(java.util.UUID),
matching(String)
public static com.google.common.base.Predicate<RemoteAgentAuthentication> matchingUuidOf(@NotNull
java.lang.Iterable<RemoteAgentAuthentication> authentications)
public static com.google.common.base.Predicate<RemoteAgentAuthentication> isApproved()
public static com.google.common.base.Predicate<RemoteAgentAuthentication> isPending()
public static com.google.common.base.Function<RemoteAgentAuthenticationEntity,ImmutableRemoteAgentAuthentication> fromEntity()
public static com.google.common.base.Function<RemoteAgentAuthentication,RemoteAgentAuthenticationEntity> toEntity(RemoteAgentAuthenticationDao agentAuthenticationDao)
@NotNull
public static java.util.Set<java.lang.String> ipStringToSet(@NotNull
java.lang.String ip)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||