Package org.wildfly.channel
Class ChannelManifestMapper
java.lang.Object
org.wildfly.channel.ChannelManifestMapper
Mapper class to transform YAML content (from URL or String) to Channel objects (and vice versa).
YAML input is validated against a schema.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ChannelManifeststatic ChannelManifestfromString(String yamlContent) static StringtoYaml(ChannelManifest channelManifest)
-
Field Details
-
SCHEMA_VERSION_1_0_0
- See Also:
-
SCHEMA_VERSION_1_1_0
- See Also:
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
ChannelManifestMapper
public ChannelManifestMapper()
-
-
Method Details
-
toYaml
- Throws:
IOException
-
from
- Throws:
InvalidChannelMetadataException
-
fromString
- Throws:
InvalidChannelMetadataException
-