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 protected
PerAgentTokenImpl()
PerAgentTokenImpl(@NotNull String resultKey, @NotNull String token, @NotNull Timestamp creationTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull Timestamp
getCreationTimestamp()
long
getId()
@NotNull String
getResultKey()
@NotNull String
getToken()
void
setCreationTimestamp(@NotNull Timestamp creationTimestamp)
void
setId(long id)
void
setResultKey(@NotNull String resultKey)
void
setToken(@NotNull String token)
-
-
-
Method Detail
-
getId
public long getId()
- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id)
- Specified by:
setId
in interfaceBambooObject
-
getResultKey
@NotNull public @NotNull String getResultKey()
- Specified by:
getResultKey
in interfacePerAgentToken
- Returns:
- result key
-
setResultKey
public void setResultKey(@NotNull @NotNull String resultKey)
-
getToken
@NotNull public @NotNull String getToken()
- Specified by:
getToken
in interfacePerAgentToken
- Returns:
- token
-
setToken
public void setToken(@NotNull @NotNull String token)
-
getCreationTimestamp
@NotNull public @NotNull Timestamp getCreationTimestamp()
- Specified by:
getCreationTimestamp
in interfacePerAgentToken
- Returns:
- creation timestamp
-
setCreationTimestamp
public void setCreationTimestamp(@NotNull @NotNull Timestamp creationTimestamp)
-
-