Package com.atlassian.bamboo.core
Interface BambooEntityOidService
- All Known Implementing Classes:
BambooEntityOidServiceImpl
@ThreadSafe
public interface BambooEntityOidService
Service for operations on
BambooEntityOid
s.-
Method Summary
Modifier and TypeMethodDescription@NotNull BambooEntityOid
nextOid
(@NotNull BambooEntityType entityType) Return the next availableBambooEntityOid
of the given type.void
resetOidPool
(@NotNull BambooEntityType entityType) Reset pool of OIDs of the given entity type for this Bamboo instance's server key.
-
Method Details
-
nextOid
Return the next availableBambooEntityOid
of the given type. Uses this Bamboo instance's server key for generating the OID.- Parameters:
entityType
- type of entity- Returns:
- next available OID for the given type
-
resetOidPool
Reset pool of OIDs of the given entity type for this Bamboo instance's server key. This method will perform recalculation of next available OID.- Parameters:
entityType
- type of entity
-