public interface VersionNumberService
Modifier and Type | Method and Description |
---|---|
boolean |
equalTo(String version)
Checks if the version is equal to the version returned from
getVersion() . |
String |
getVersion()
Retrieves the version number of the Kuali Coeus Application.
|
boolean |
greaterThan(String version)
Checks if the version is greater than the version returned from
getVersion() . |
boolean |
lessThan(String version)
Checks if the version is less than the version returned from
getVersion() . |
String getVersion()
IllegalStateException
- if the version number is blank. This represents a system
misconfigurationboolean lessThan(String version)
getVersion()
.version
- the version to check. cannot be blank.IllegalArgumentException
- if the version is blankboolean greaterThan(String version)
getVersion()
.version
- the version to check. cannot be blank.IllegalArgumentException
- if the version is blankboolean equalTo(String version)
getVersion()
.version
- the version to check. cannot be blank.IllegalArgumentException
- if the version is blankCopyright © 2014 The Kuali Foundation. All rights reserved.