public interface MutableAccessToken extends AccessToken, BambooObject
Modifier and Type | Method and Description |
---|---|
String |
getHashedToken() |
int |
getPermissionsMask()
Get token permissions as mask.
|
void |
setCreationDate(Date creationDate)
Set creation date
|
void |
setHashedToken(String hashedToken)
Set hashed token value
|
void |
setName(String name)
Set token name
|
void |
setPermissions(Iterable<AccessTokenPermission> permissions)
Set token permissions
|
void |
setPermissionsMask(int permissionsMask)
Set token permissions as mask.
|
void |
setTokenId(String tokenId)
Set token unique id
|
void |
setUserName(String userName)
Set token owner
|
getCreationDate, getName, getPermissions, getTokenId, getUserName, toAccessToken
setId
getId
@NotNull String getHashedToken()
void setHashedToken(@NotNull String hashedToken)
hashedToken
- void setTokenId(@NotNull String tokenId)
tokenId
- void setUserName(@NotNull String userName)
userName
- void setName(@NotNull String name)
name
- void setCreationDate(Date creationDate)
creationDate
- void setPermissions(@NotNull Iterable<AccessTokenPermission> permissions)
permissions
- int getPermissionsMask()
void setPermissionsMask(int permissionsMask)
permissionsMask
- Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.