public class VersionImpl extends Object implements Version, Serializable
Constructor and Description |
---|
VersionImpl(String versionName,
int majorVersion,
int minorVersion,
int microVersion,
int incrementingVersion,
int[] compatibleVersionList) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getFullVersion() |
int |
getIncrementingVersion() |
int |
getMajorVersion() |
int |
getMicroVersion() |
int |
getMinorVersion() |
String |
getVersionName() |
int |
hashCode() |
boolean |
isCompatible(int version) |
public VersionImpl(String versionName, int majorVersion, int minorVersion, int microVersion, int incrementingVersion, int[] compatibleVersionList)
public String getFullVersion()
getFullVersion
in interface Version
public String getVersionName()
getVersionName
in interface Version
public int getMajorVersion()
getMajorVersion
in interface Version
public int getMinorVersion()
getMinorVersion
in interface Version
public int getMicroVersion()
getMicroVersion
in interface Version
public int getIncrementingVersion()
getIncrementingVersion
in interface Version
public boolean isCompatible(int version)
isCompatible
in interface Version
Copyright © 2021 JBoss by Red Hat. All rights reserved.