public class DefaultBuildNumberRangeChecker extends Object implements BuildNumberRangeChecker
Constructor and Description |
---|
DefaultBuildNumberRangeChecker() |
Modifier and Type | Method and Description |
---|---|
boolean |
isBuildNumberInRange(String currentBuildNumber,
com.atlassian.fugue.Option<Integer> minBuildNumber,
com.atlassian.fugue.Option<Integer> maxBuildNumber) |
com.atlassian.fugue.Option<Integer> |
parseBuildNumberOrThrow(String buildNumber,
String exceptionMessage) |
public boolean isBuildNumberInRange(String currentBuildNumber, com.atlassian.fugue.Option<Integer> minBuildNumber, com.atlassian.fugue.Option<Integer> maxBuildNumber)
isBuildNumberInRange
in interface BuildNumberRangeChecker
public com.atlassian.fugue.Option<Integer> parseBuildNumberOrThrow(String buildNumber, String exceptionMessage)
parseBuildNumberOrThrow
in interface BuildNumberRangeChecker
Copyright © 2003–2018 Atlassian. All rights reserved.