Package com.atlassian.bamboo.core
Class BambooEntityOidServiceImpl
java.lang.Object
com.atlassian.bamboo.core.BambooEntityOidServiceImpl
- All Implemented Interfaces:
BambooEntityOidService
@ThreadSafe
public class BambooEntityOidServiceImpl
extends Object
implements BambooEntityOidService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NotNull BambooEntityOidnextOid(@NotNull BambooEntityType entityType) Return the next availableBambooEntityOidof the given type.voidresetOidPool(@NotNull BambooEntityType entityType) Reset pool of OIDs of the given entity type for this Bamboo instance's server key.
-
Constructor Details
-
BambooEntityOidServiceImpl
public BambooEntityOidServiceImpl()
-
-
Method Details
-
nextOid
Description copied from interface:BambooEntityOidServiceReturn the next availableBambooEntityOidof the given type. Uses this Bamboo instance's server key for generating the OID.- Specified by:
nextOidin interfaceBambooEntityOidService- Parameters:
entityType- type of entity- Returns:
- next available OID for the given type
-
resetOidPool
Description copied from interface:BambooEntityOidServiceReset pool of OIDs of the given entity type for this Bamboo instance's server key. This method will perform recalculation of next available OID.- Specified by:
resetOidPoolin interfaceBambooEntityOidService- Parameters:
entityType- type of entity
-