Package com.atlassian.bamboo.core
Interface BambooEntityOidService
-
- All Known Implementing Classes:
BambooEntityOidServiceImpl
@ThreadSafe public interface BambooEntityOidService
Service for operations onBambooEntityOid
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @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 Detail
-
nextOid
@NotNull @NotNull BambooEntityOid nextOid(@NotNull @NotNull BambooEntityType entityType)
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
void resetOidPool(@NotNull @NotNull BambooEntityType entityType)
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
-
-