Class SubclassBodyTypeSelector
java.lang.Object
org.chenile.core.transform.SubclassBodyTypeSelector
- All Implemented Interfaces:
Command<ChenileExchange>
SubclassBodyTypeSelector uses the Subclass registry to determine the appropriate subclass based on the type to distinguish
between subclasses. The type is expected to be at the top level in the JSON.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
subclassRegistry
-
-
Constructor Details
-
SubclassBodyTypeSelector
public SubclassBodyTypeSelector()
-
-
Method Details
-
execute
- Specified by:
executein interfaceCommand<ChenileExchange>- Throws:
Exception
-