@ThreadSafe public class BambooEntityOidServiceImpl extends Object implements BambooEntityOidService
Constructor and Description |
---|
BambooEntityOidServiceImpl() |
Modifier and Type | Method and Description |
---|---|
BambooEntityOid |
nextOid(BambooEntityType entityType)
Return the next available
BambooEntityOid of the given type. |
void |
resetOidPool(BambooEntityType entityType)
Reset pool of OIDs of the given entity type for this Bamboo instance's server key.
|
@NotNull public BambooEntityOid nextOid(@NotNull BambooEntityType entityType)
BambooEntityOidService
BambooEntityOid
of the given type. Uses this Bamboo instance's server key for
generating the OID.nextOid
in interface BambooEntityOidService
entityType
- type of entitypublic void resetOidPool(@NotNull BambooEntityType entityType)
BambooEntityOidService
resetOidPool
in interface BambooEntityOidService
entityType
- type of entityCopyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.