Package org.mule.maven.exchange.model
Class ExchangeModelSerializer
java.lang.Object
org.mule.maven.exchange.model.ExchangeModelSerializer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidindent(boolean shouldIndent) Hack due to apikit's code to read the main file from the exchange.json file.read(InputStream inputStream) voidwrite(ExchangeModel model, File output) voidwrite(ExchangeModel model, OutputStream output) voidwrite(ExchangeModel model, Writer output)
-
Constructor Details
-
ExchangeModelSerializer
public ExchangeModelSerializer()
-
-
Method Details
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
read
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
write
- Throws:
IOException
-
indent
public void indent(boolean shouldIndent) Hack due to apikit's code to read the main file from the exchange.json file. Until it's fixed, or just for backwards compatibility, leave it here. See APIKIT-1956- Parameters:
shouldIndent- boolean to enable/disable the feature on the mapper side.
-