Package com.atlassian.bamboo.agent
Class PerAgentTokenImpl
java.lang.Object
com.atlassian.bamboo.agent.PerAgentTokenImpl
- All Implemented Interfaces:
PerAgentToken
,BambooIdProvider
,BambooObject
-
Constructor Summary
ModifierConstructorDescriptionprotected
PerAgentTokenImpl
(@NotNull String resultKey, @NotNull String token, @NotNull Timestamp creationTimestamp) -
Method Summary
Modifier and TypeMethodDescription@NotNull Timestamp
long
getId()
@NotNull String
@NotNull String
getToken()
void
setCreationTimestamp
(@NotNull Timestamp creationTimestamp) void
setId
(long id) void
setResultKey
(@NotNull String resultKey) void
-
Constructor Details
-
PerAgentTokenImpl
protected PerAgentTokenImpl() -
PerAgentTokenImpl
-
-
Method Details
-
getId
public long getId()- Specified by:
getId
in interfaceBambooIdProvider
-
setId
public void setId(long id) - Specified by:
setId
in interfaceBambooObject
-
getResultKey
- Specified by:
getResultKey
in interfacePerAgentToken
- Returns:
- result key
-
setResultKey
-
getToken
- Specified by:
getToken
in interfacePerAgentToken
- Returns:
- token
-
setToken
-
getCreationTimestamp
- Specified by:
getCreationTimestamp
in interfacePerAgentToken
- Returns:
- creation timestamp
-
setCreationTimestamp
-