Package com.atlassian.jira.util
Class JiraReleaseType
java.lang.Object
com.atlassian.jira.util.JiraReleaseType
A type of JIRA release.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasBeta()asEap()asFinal()asRc()voidassertMatches(BuildUtilsInfo buildUtilsInfo) Asserts that this release type matches what's reported by the given build info.voidsetUpMock(BuildUtilsInfo buildUtilsInfo) Sets up the given Mockito mock to match this release type.
-
Constructor Details
-
JiraReleaseType
public JiraReleaseType()
-
-
Method Details
-
asBeta
-
asEap
-
asFinal
-
asMilestone
-
asRc
-
asSnapshot
-
assertMatches
Asserts that this release type matches what's reported by the given build info.- Parameters:
buildUtilsInfo- the actual details of the version
-
setUpMock
Sets up the given Mockito mock to match this release type.- Parameters:
buildUtilsInfo- the mock to set up
-