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,DeploymentProjectVersioningSupplement,EnvironmentVersioningSupplement,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 TypeMethodDescriptionvoidincrementVersion(T object, @Nullable 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
-