public class Version extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
Version.Format |
static class |
Version.Qualifier
Type safe enum for intermediate major.
|
| Constructor and Description |
|---|
Version(String name,
int major,
int minor,
int patch,
Version.Qualifier qualifier,
String codeName) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCodeName() |
int |
getMajor()
Return the major.
|
int |
getMinor()
Return the minor.
|
String |
getName()
Return the name;
|
int |
getPatch()
Return the patch.
|
Version.Qualifier |
getQualifier()
Return the intermediate major.
|
String |
toString() |
String |
toString(Version.Format format) |
public Version(String name, int major, int minor, int patch, Version.Qualifier qualifier, String codeName)
public String getCodeName()
public String getName()
public int getMajor()
public int getMinor()
public int getPatch()
public Version.Qualifier getQualifier()
public String toString(Version.Format format) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2025 JBoss by Red Hat. All Rights Reserved.