public final class Metadatas extends Object
MetadataOuterClass.Metadata
instances.MetadataOuterClass.Metadata.Builder
Constructor and Description |
---|
Metadatas()
Deprecated.
This constructor originally did not exist explicitly
in the source code. That means a default no-argument
public constructor was available to end users. Consequently,
this constructor cannot now be made private without
breaking API compatibility. This constructor is slated for
removal. |
Modifier and Type | Method and Description |
---|---|
static void |
populateMetadataBuilder(MetadataOuterClass.Metadata.Builder metadataBuilder,
Map<?,?> yamlMap)
Given a
Map assumed to represent a YAML document, calls
certain mutating methods on the supplied MetadataOuterClass.Metadata.Builder . |
@Deprecated public Metadatas()
public
constructor was available to end users. Consequently,
this constructor cannot now be made private
without
breaking API compatibility. This constructor is slated for
removal.Metadatas
.public static final void populateMetadataBuilder(MetadataOuterClass.Metadata.Builder metadataBuilder, Map<?,?> yamlMap)
Map
assumed to represent a YAML document, calls
certain mutating methods on the supplied MetadataOuterClass.Metadata.Builder
.metadataBuilder
- the MetadataOuterClass.Metadata.Builder
to populate; may
be null
in which case no action will be takenyamlMap
- a Map
representing a YAML representation
of a MetadataOuterClass.Metadata
; may be null
or empty in which case no action will be taken; if
non-null
expected 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 supplied yamlMap
does not actually represent a YAML representation of a MetadataOuterClass.Metadata
Copyright © 2017–2018, microBean. All rights reserved.