Package com.atlassian.bamboo.versioning
Class RepositoryDataEntityVersioningSupplement
java.lang.Object
com.atlassian.bamboo.versioning.AbstractVersioningSupplement<RepositoryDataEntity,RepositoryDataEntityImpl>
com.atlassian.bamboo.versioning.RepositoryDataEntityVersioningSupplement
- All Implemented Interfaces:
VersioningSupplement<RepositoryDataEntity>
public final class RepositoryDataEntityVersioningSupplement
extends AbstractVersioningSupplement<RepositoryDataEntity,RepositoryDataEntityImpl>
-
Field Summary
Fields inherited from class com.atlassian.bamboo.versioning.AbstractVersioningSupplement
bambooClusterSettings
-
Constructor Summary
ConstructorDescriptionRepositoryDataEntityVersioningSupplement
(@NotNull BambooClusterSettings bambooClusterSettings) -
Method Summary
Modifier and TypeMethodDescriptionvoid
incrementVersion
(long id, @Nullable org.hibernate.Session session) void
incrementVersion
(@Nullable RepositoryDataEntity object, @Nullable org.hibernate.Session session) Increments the version of the given object.Methods inherited from class com.atlassian.bamboo.versioning.AbstractVersioningSupplement
incrementVersion
-
Constructor Details
-
RepositoryDataEntityVersioningSupplement
public RepositoryDataEntityVersioningSupplement(@NotNull @NotNull BambooClusterSettings bambooClusterSettings)
-
-
Method Details
-
incrementVersion
public void incrementVersion(@Nullable @Nullable RepositoryDataEntity object, @Nullable @Nullable org.hibernate.Session session) Description copied from interface:VersioningSupplement
Increments the version of the given object.- Parameters:
object
- the object to increment the version ofsession
- the session to use for incrementing the version
-
incrementVersion
public void incrementVersion(long id, @Nullable @Nullable org.hibernate.Session session)
-