Class JiraReleaseType

java.lang.Object
com.atlassian.jira.util.JiraReleaseType

public class JiraReleaseType extends Object
A type of JIRA release.
  • Constructor Details

    • JiraReleaseType

      public JiraReleaseType()
  • Method Details

    • asBeta

      public JiraReleaseType asBeta()
    • asEap

      public JiraReleaseType asEap()
    • asFinal

      public JiraReleaseType asFinal()
    • asMilestone

      public JiraReleaseType asMilestone()
    • asRc

      public JiraReleaseType asRc()
    • asSnapshot

      public JiraReleaseType asSnapshot()
    • assertMatches

      public void assertMatches(BuildUtilsInfo buildUtilsInfo)
      Asserts that this release type matches what's reported by the given build info.
      Parameters:
      buildUtilsInfo - the actual details of the version
    • setUpMock

      public void setUpMock(BuildUtilsInfo buildUtilsInfo)
      Sets up the given Mockito mock to match this release type.
      Parameters:
      buildUtilsInfo - the mock to set up