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
Constructors Constructor Description RepositoryDataEntityVersioningSupplement(@NotNull BambooClusterSettings bambooClusterSettings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
RepositoryDataEntityVersioningSupplement
public RepositoryDataEntityVersioningSupplement(@NotNull @NotNull BambooClusterSettings bambooClusterSettings)
-
-
Method Detail
-
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)
-
-