Class EntityVersioningControl

java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<T>
com.atlassian.jira.testkit.client.BackdoorControl<T>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<EntityVersioningControl>
com.atlassian.jira.functest.framework.backdoor.EntityVersioningControl

public class EntityVersioningControl extends BackdoorControl<EntityVersioningControl>
  • Constructor Details

    • EntityVersioningControl

      public EntityVersioningControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
  • Method Details

    • getAllIssueVersions

      public List<EntityVersioningControl.EntityVersionBean> getAllIssueVersions()
    • getAllCommentVersions

      public List<EntityVersioningControl.EntityVersionBean> getAllCommentVersions()
    • getAllWorklogVersions

      public List<EntityVersioningControl.EntityVersionBean> getAllWorklogVersions()
    • incrementIssueVersion

      public void incrementIssueVersion(Long issueId)
    • incrementCommentVersion

      public void incrementCommentVersion(Long commentId, Long parentIssueId)
    • incrementWorklogVersion

      public void incrementWorklogVersion(Long worklogId, Long parentIssueId)
    • markIssueDeletedAndUpdateVersion

      public void markIssueDeletedAndUpdateVersion(Long issueId)
    • markCommentDeletedAndUpdateVersion

      public void markCommentDeletedAndUpdateVersion(Long commentId)
    • markWorklogDeletedAndUpdateVersion

      public void markWorklogDeletedAndUpdateVersion(Long worklogId)
    • incrementCommentVersionsRelatedToIssue

      public void incrementCommentVersionsRelatedToIssue(long issueId)
    • incrementWorklogVersionsRelatedToIssue

      public void incrementWorklogVersionsRelatedToIssue(long issueId)
    • getIssueVersion

      public Optional<Long> getIssueVersion(Long issueId)
    • getCommentVersion

      public Optional<Long> getCommentVersion(Long commentId)
    • getWorklogVersion

      public Optional<Long> getWorklogVersion(Long worklogId)
    • getLocalIssueVersion

      public Optional<Long> getLocalIssueVersion(Long issueId)
    • getLocalCommentVersion

      public Optional<Long> getLocalCommentVersion(Long commentId)
    • getLocalWorklogVersion

      public Optional<Long> getLocalWorklogVersion(Long worklogId)
    • getLocalChangeHistoryVersion

      public Optional<Long> getLocalChangeHistoryVersion(Long issueId)
    • getRelatedCommentVersions

      public Map<Long,Long> getRelatedCommentVersions(long issueId)
    • getRelatedWorklogVersions

      public Map<Long,Long> getRelatedWorklogVersions(long issueId)
    • createNewIssueVersionRow

      public void createNewIssueVersionRow(long issueId, LocalDateTime updateTime, long version, boolean deleted)
    • createNewCommentVersionRow

      public void createNewCommentVersionRow(long commentId, long parentIssueId, LocalDateTime updateTime, long version, boolean deleted)
    • createNewWorklogVersionRow

      public void createNewWorklogVersionRow(long worklogId, long parentIssueId, LocalDateTime updateTime, long version, boolean deleted)
    • cleanAllDeletedEntityVersionsOlderThan

      public void cleanAllDeletedEntityVersionsOlderThan(Duration duration)