Package com.atlassian.bamboo.buildqueue
Interface RemoteAgentAuthenticationEntity
- All Superinterfaces:
BambooIdProvider,BambooObject,Cloneable,Comparable<RemoteAgentAuthenticationEntity>,RemoteAgentAuthentication
- All Known Implementing Classes:
RemoteAgentAuthenticationImpl
@Internal
public interface RemoteAgentAuthenticationEntity
extends RemoteAgentAuthentication, BambooObject, Comparable<RemoteAgentAuthenticationEntity>, Cloneable
Represents entity with authentication data of a remote agent.
- Since:
- 3.4
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringUUID converted to StringvoidsetApproved(boolean isApproved) Set whether this authentication has been approved.voidSet IP address of this authentication.voidSet unique ID of this authenticationvoidsetUuidAsString(@Nullable String uuidAsString) Set value of UUID from String.Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setIdMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface com.atlassian.bamboo.buildqueue.RemoteAgentAuthentication
getIp, getIpPatterns, getUuid, isApproved
-
Method Details
-
setIp
Set IP address of this authentication.- Parameters:
ip- IP address
-
setUuid
Set unique ID of this authentication- Parameters:
uuid- UUID
-
setApproved
void setApproved(boolean isApproved) Set whether this authentication has been approved.- Parameters:
isApproved-true, if this authentication has been approved
-
getUuidAsString
UUID converted to String- Returns:
- null iff uuid is null or uuid.toString()
-
setUuidAsString
Set value of UUID from String.- Parameters:
uuidAsString- string representation of uuid
-