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 Details

    • PerAgentTokenImpl

      protected PerAgentTokenImpl()
    • PerAgentTokenImpl

      public PerAgentTokenImpl(@NotNull @NotNull String resultKey, @NotNull @NotNull String token, @NotNull @NotNull Timestamp creationTimestamp)
  • Method Details

    • getId

      public long getId()
      Specified by:
      getId in interface BambooIdProvider
    • setId

      public void setId(long id)
      Specified by:
      setId in interface BambooObject
    • getResultKey

      @NotNull public @NotNull String getResultKey()
      Specified by:
      getResultKey in interface PerAgentToken
      Returns:
      result key
    • setResultKey

      public void setResultKey(@NotNull @NotNull String resultKey)
    • getToken

      @NotNull public @NotNull String getToken()
      Specified by:
      getToken in interface PerAgentToken
      Returns:
      token
    • setToken

      public void setToken(@NotNull @NotNull String token)
    • getCreationTimestamp

      @NotNull public @NotNull Timestamp getCreationTimestamp()
      Specified by:
      getCreationTimestamp in interface PerAgentToken
      Returns:
      creation timestamp
    • setCreationTimestamp

      public void setCreationTimestamp(@NotNull @NotNull Timestamp creationTimestamp)