类 BuilderMetadata
java.lang.Object
cn.taketoday.buildpack.platform.json.MappedObject
cn.taketoday.buildpack.platform.build.BuilderMetadata
Builder metadata information.
- 作者:
- Phillip Webb, Andy Wilkinson, Scott Frederick
-
嵌套类概要
嵌套类修饰符和类型类说明(专用程序包) static interfaceCreated-by metadata.(专用程序包) static interfaceLifecycle metadata.(专用程序包) static interfaceStack metadata.(专用程序包) static final classUpdate class used to change data when creating a copy.从类继承的嵌套类/接口 cn.taketoday.buildpack.platform.json.MappedObject
MappedObject.ContentReader<C> -
字段概要
字段修饰符和类型字段说明private final List<BuildpackMetadata>private final BuilderMetadata.CreatedByprivate static final String[]private static final Stringprivate final BuilderMetadata.Lifecycleprivate final BuilderMetadata.Stack -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明(专用程序包) voidattachTo(ImageConfig.Update update) Attach this metadata to the given update callback.(专用程序包) BuilderMetadatacopy(Consumer<BuilderMetadata.Update> update) Create an updated copy of this metadata.private List<BuildpackMetadata>extractBuildpacks(JsonNode node) (专用程序包) static BuilderMetadataFactory method to extractBuilderMetadatafrom an image.(专用程序包) static BuilderMetadatafromImageConfig(ImageConfig imageConfig) Factory method to extractBuilderMetadatafrom image config.(专用程序包) static BuilderMetadataFactory method createBuilderMetadatafrom some JSON.(专用程序包) List<BuildpackMetadata>Return the buildpacks that are bundled in the builder.(专用程序包) BuilderMetadata.CreatedByReturn information about who created the builder.(专用程序包) BuilderMetadata.LifecycleReturn lifecycle metadata.(专用程序包) BuilderMetadata.StackgetStack()Return stack metadata.
-
字段详细资料
-
LABEL_NAME
- 另请参阅:
-
EMPTY_MIRRORS
-
stack
-
lifecycle
-
createdBy
-
buildpacks
-
-
构造器详细资料
-
BuilderMetadata
BuilderMetadata(JsonNode node)
-
-
方法详细资料
-
extractBuildpacks
-
getStack
BuilderMetadata.Stack getStack()Return stack metadata.- 返回:
- the stack metadata
-
getLifecycle
BuilderMetadata.Lifecycle getLifecycle()Return lifecycle metadata.- 返回:
- the lifecycle metadata
-
getCreatedBy
BuilderMetadata.CreatedBy getCreatedBy()Return information about who created the builder.- 返回:
- the created by metadata
-
getBuildpacks
List<BuildpackMetadata> getBuildpacks()Return the buildpacks that are bundled in the builder.- 返回:
- the buildpacks
-
copy
Create an updated copy of this metadata.- 参数:
update- consumer to apply updates- 返回:
- an updated metadata instance
-
attachTo
Attach this metadata to the given update callback.- 参数:
update- the update used to attach the metadata
-
fromImage
Factory method to extractBuilderMetadatafrom an image.- 参数:
image- the source image- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-
fromImageConfig
Factory method to extractBuilderMetadatafrom image config.- 参数:
imageConfig- the image config- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-
fromJson
Factory method createBuilderMetadatafrom some JSON.- 参数:
json- the source JSON- 返回:
- the builder metadata
- 抛出:
IOException- on IO error
-