java.lang.Object | |
↳ | com.fasterxml.jackson.core.Version |
Object that encapsulates versioning information of a component. Version information includes not just version number but also optionally group and artifact ids of the component being versioned.
Note that optional group and artifact id properties are new with Jackson 2.0: if provided, they should align with Maven artifact information.
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
_artifactId | |||||||||||
_groupId | |||||||||||
_majorVersion | |||||||||||
_minorVersion | |||||||||||
_patchLevel | |||||||||||
_snapshotInfo | Additional information for snapshot versions; null for non-snapshot (release) versions. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This constructor is deprecated.
Use variant that takes group and artifact ids
| |||||||||||
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Method returns canonical "not known" version, which is used as version
in cases where actual version information is not known (instead of null).
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
Additional information for snapshot versions; null for non-snapshot (release) versions.
This constructor is deprecated.
Use variant that takes group and artifact ids
Method returns canonical "not known" version, which is used as version in cases where actual version information is not known (instead of null).