public class JiraReleaseType extends Object
Constructor and Description |
---|
JiraReleaseType() |
Modifier and Type | Method and Description |
---|---|
JiraReleaseType |
asBeta() |
JiraReleaseType |
asEap() |
JiraReleaseType |
asFinal() |
JiraReleaseType |
asMilestone() |
JiraReleaseType |
asRc() |
void |
assertMatches(BuildUtilsInfo buildUtilsInfo)
Asserts that this release type matches what's reported by the given build info.
|
JiraReleaseType |
asSnapshot() |
void |
setUpMock(BuildUtilsInfo buildUtilsInfo)
Sets up the given Mockito mock to match this release type.
|
public JiraReleaseType asBeta()
public JiraReleaseType asEap()
public JiraReleaseType asFinal()
public JiraReleaseType asMilestone()
public JiraReleaseType asRc()
public JiraReleaseType asSnapshot()
public void assertMatches(BuildUtilsInfo buildUtilsInfo)
buildUtilsInfo
- the actual details of the versionpublic void setUpMock(BuildUtilsInfo buildUtilsInfo)
buildUtilsInfo
- the mock to set upCopyright © 2002-2023 Atlassian. All Rights Reserved.