类 Metadatas
- java.lang.Object
-
- org.microbean.helm.chart.Metadatas
-
public final class Metadatas extends Object
A utility class for working withMetadataOuterClass.Metadatainstances.
-
-
构造器概要
构造器 构造器 说明 Metadatas()已过时。This constructor originally did not exist explicitly in the source code.
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static voidpopulateMetadataBuilder(MetadataOuterClass.Metadata.Builder metadataBuilder, Map<?,?> yamlMap)Given aMapassumed to represent a YAML document, calls certain mutating methods on the suppliedMetadataOuterClass.Metadata.Builder.
-
-
-
构造器详细资料
-
Metadatas
@Deprecated public Metadatas()
已过时。This constructor originally did not exist explicitly in the source code. That means a default no-argumentpublicconstructor was available to end users. Consequently, this constructor cannot now be madeprivatewithout breaking API compatibility. This constructor is slated for removal.Creates a newMetadatas.
-
-
方法详细资料
-
populateMetadataBuilder
public static final void populateMetadataBuilder(MetadataOuterClass.Metadata.Builder metadataBuilder, Map<?,?> yamlMap)
Given aMapassumed to represent a YAML document, calls certain mutating methods on the suppliedMetadataOuterClass.Metadata.Builder.- 参数:
metadataBuilder- theMetadataOuterClass.Metadata.Builderto populate; may benullin which case no action will be takenyamlMap- aMaprepresenting a YAML representation of aMetadataOuterClass.Metadata; may benullor empty in which case no action will be taken; if non-nullexpected to contain zero or more keys drawn from the following set:annotations,apiVersion,appVersion,condition,deprecated,description,engine,home,icon,keywords,maintainers,name,sources,tags,tillerVersion,version- 抛出:
ClassCastException- if the suppliedyamlMapdoes not actually represent a YAML representation of aMetadataOuterClass.Metadata
-
-