Package org.wildfly.channel
Class ChannelMapper
java.lang.Object
org.wildfly.channel.ChannelMapper
Mapper class to transform YAML content (from URL or String) to Channel objects (and vice versa).
YAML input is validated against a schema.
-
Field Details
-
SCHEMA_VERSION_1_0_0
- See Also:
-
SCHEMA_VERSION_2_0_0
- See Also:
-
CURRENT_SCHEMA_VERSION
- See Also:
-
-
Constructor Details
-
ChannelMapper
public ChannelMapper()
-
-
Method Details
-
toYaml
- Throws:
IOException
-
toYaml
- Throws:
IOException
-
from
- Throws:
InvalidChannelMetadataException
-
fromString
- Throws:
InvalidChannelMetadataException
-