public interface MetadataVersion
Modifier and Type | Field and Description |
---|---|
static String |
DOT
dot
|
static String |
EIGHT
eight
|
static String |
FIVE
five
|
static String |
FOUR
four
|
static String |
NINE
nine
|
static String |
ONE
one
|
static String |
SEVEN
seven
|
static String |
SIX
six
|
static String |
THREE
three
|
static String |
TWO
two
|
static String |
VERSION_PROPERTY
Version property constant
|
static String |
WILDCARD
wildcard character used in version strings
|
static String |
ZERO
zero
|
Modifier and Type | Method and Description |
---|---|
boolean |
compareTo(MetadataVersion otherVersion) |
String |
getMajor() |
MetadataVersion |
getMaximumVersion() |
String |
getMicro() |
MetadataVersion |
getMinimumVersion() |
String |
getMinor() |
boolean |
hasWildCards()
Test whether the minor or micro segments are wildcards '*'
|
boolean |
isGreaterThan(MetadataVersion otherVersion)
Is this version greater than the given version
Wildcards will cause the result to return false since either
this or otherVersion could be the greater depending on the
value given to the wildcard.
|
boolean |
isGreaterThanOrEqualTo(MetadataVersion otherVersion)
Convenience that delegates to
compareTo(MetadataVersion)
and isGreaterThan(MetadataVersion) . |
boolean |
isLessThan(MetadataVersion otherVersion)
Is this version less than the given version
Wildcards will cause the result to return false since either
this or otherVersion could be the lesser depending on the
value given to the wildcard.
|
boolean |
isLessThanOrEqualTo(MetadataVersion otherVersion)
Convenience that delegates to
compareTo(MetadataVersion)
and isLessThan(MetadataVersion) . |
boolean |
isSevenInstance()
Is this a 7 teiid instance?
|
static final String DOT
static final String WILDCARD
static final String ZERO
static final String ONE
static final String TWO
static final String THREE
static final String FOUR
static final String FIVE
static final String SIX
static final String SEVEN
static final String EIGHT
static final String NINE
static final String VERSION_PROPERTY
String getMajor()
String getMinor()
String getMicro()
boolean hasWildCards()
boolean compareTo(MetadataVersion otherVersion)
otherVersion
- boolean isSevenInstance()
MetadataVersion getMinimumVersion()
MetadataVersion getMaximumVersion()
boolean isGreaterThan(MetadataVersion otherVersion)
otherVersion
- boolean isLessThan(MetadataVersion otherVersion)
otherVersion
- boolean isGreaterThanOrEqualTo(MetadataVersion otherVersion)
compareTo(MetadataVersion)
and isGreaterThan(MetadataVersion)
.otherVersion
- boolean isLessThanOrEqualTo(MetadataVersion otherVersion)
compareTo(MetadataVersion)
and isLessThan(MetadataVersion)
.otherVersion
- Copyright © 2013–2019. All rights reserved.