类 ApiVersions
java.lang.Object
cn.taketoday.buildpack.platform.build.ApiVersions
A set of API Version numbers comprised of major and minor values.
- 从以下版本开始:
- 4.0
- 作者:
- Scott Frederick, Harry Yang
-
字段概要
字段修饰符和类型字段说明private final ApiVersion[](专用程序包) static final ApiVersionsThe platform API versions supported by this release. -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明boolean(专用程序包) ApiVersionfindLatestSupported(String... others) Find the latest version among the specified versions that is supported by these API versions.inthashCode()(专用程序包) static ApiVersions(专用程序包) static ApiVersionsFactory method to parse strings into anApiVersionsinstance.toString()
-
字段详细资料
-
SUPPORTED_PLATFORMS
The platform API versions supported by this release. -
apiVersions
-
-
构造器详细资料
-
ApiVersions
-
-
方法详细资料
-
findLatestSupported
Find the latest version among the specified versions that is supported by these API versions.- 参数:
others- the versions to check against- 返回:
- the version
-
equals
-
hashCode
public int hashCode() -
toString
-
parse
Factory method to parse strings into anApiVersionsinstance.- 参数:
values- the values to parse.- 返回:
- the corresponding
ApiVersions - 抛出:
IllegalArgumentException- if any values could not be parsed
-
of
-