Package org.openrewrite.nodejs.internal
Interface Version
public interface Version
-
Method Summary
-
Method Details
-
getSource
String getSource()Returns the originalStringrepresentation of the version. -
getParts
String[] getParts()Returns all the parts of this version. e.g. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,beta,4]. -
getNumericParts
Long[] getNumericParts()Returns all the numeric parts of this version asLong, with nulls in non-numeric positions. eg. 1.2.3 returns [1,2,3] or 1.2-beta4 returns [1,2,null,4].
-