Package com.atlassian.bamboo.versioning
Interface VersioningSupplement<T>
-
- Type Parameters:
T
- the type of the object to increment the version of
- All Known Implementing Classes:
AbstractVersioningSupplement
,PlanVersioningSupplement
,RepositoryDataEntityVersioningSupplement
public interface VersioningSupplement<T>
Interface for versioning supplements. Versioning supplements are used to increment the version of an object.- Since:
- 9.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
incrementVersion(T object, org.hibernate.Session session)
Increments the version of the given object.
-
-
-
Method Detail
-
incrementVersion
void incrementVersion(@Nullable T object, @Nullable org.hibernate.Session session)
Increments the version of the given object.- Parameters:
object
- the object to increment the version ofsession
- the session to use for incrementing the version
-
-