Package com.atlassian.bamboo.agent
Class PerAgentTokenImpl
- java.lang.Object
-
- com.atlassian.bamboo.agent.PerAgentTokenImpl
-
- All Implemented Interfaces:
PerAgentToken,BambooIdProvider,BambooObject
@Entity public class PerAgentTokenImpl extends Object implements PerAgentToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPerAgentTokenImpl()PerAgentTokenImpl(@NotNull String resultKey, @NotNull String token, @NotNull Timestamp creationTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull TimestampgetCreationTimestamp()longgetId()@NotNull StringgetResultKey()@NotNull StringgetToken()voidsetCreationTimestamp(@NotNull Timestamp creationTimestamp)voidsetId(long id)voidsetResultKey(@NotNull String resultKey)voidsetToken(@NotNull String token)
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getIdin interfaceBambooIdProvider
-
setId
public void setId(long id)
- Specified by:
setIdin interfaceBambooObject
-
getResultKey
@NotNull public @NotNull String getResultKey()
- Specified by:
getResultKeyin interfacePerAgentToken- Returns:
- result key
-
setResultKey
public void setResultKey(@NotNull @NotNull String resultKey)
-
getToken
@NotNull public @NotNull String getToken()
- Specified by:
getTokenin interfacePerAgentToken- Returns:
- token
-
setToken
public void setToken(@NotNull @NotNull String token)
-
getCreationTimestamp
@NotNull public @NotNull Timestamp getCreationTimestamp()
- Specified by:
getCreationTimestampin interfacePerAgentToken- Returns:
- creation timestamp
-
setCreationTimestamp
public void setCreationTimestamp(@NotNull @NotNull Timestamp creationTimestamp)
-
-