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
Modifier and TypeMethodDescriptionvoid
incrementVersion
(T object, org.hibernate.Session session) Increments the version of the given object.
-
Method Details
-
incrementVersion
Increments the version of the given object.- Parameters:
object
- the object to increment the version ofsession
- the session to use for incrementing the version
-