类 BuildpackMetadata
java.lang.Object
cn.taketoday.buildpack.platform.json.MappedObject
cn.taketoday.buildpack.platform.build.BuildpackMetadata
Buildpack metadata information.
- 作者:
- Scott Frederick
-
嵌套类概要
从类继承的嵌套类/接口 cn.taketoday.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C> -
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) static BuildpackMetadataFactory method to extractBuildpackMetadatafrom an image.(专用程序包) static BuildpackMetadatafromImageConfig(ImageConfig imageConfig) Factory method to extractBuildpackMetadatafrom image config.(专用程序包) static BuildpackMetadataFactory method createBuildpackMetadatafrom JSON.(专用程序包) static BuildpackMetadataFactory method createBuildpackMetadatafrom JSON.(专用程序包) StringReturn the buildpack homepage address.(专用程序包) StringgetId()Return the buildpack ID.(专用程序包) StringReturn the buildpack version.
-
字段详细资料
-
LABEL_NAME
- 另请参阅:
-
id
-
version
-
homepage
-
-
构造器详细资料
-
BuildpackMetadata
-
-
方法详细资料
-
getId
String getId()Return the buildpack ID.- 返回:
- the ID
-
getVersion
String getVersion()Return the buildpack version.- 返回:
- the version
-
getHomepage
String getHomepage()Return the buildpack homepage address.- 返回:
- the homepage
-
fromImage
Factory method to extractBuildpackMetadatafrom an image.- 参数:
image- the source image- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-
fromImageConfig
Factory method to extractBuildpackMetadatafrom image config.- 参数:
imageConfig- the source image config- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-
fromJson
Factory method createBuildpackMetadatafrom JSON.- 参数:
json- the source JSON- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-
fromJson
Factory method createBuildpackMetadatafrom JSON.- 参数:
node- the source JSON- 返回:
- the builder metadata
-