public interface CommandSerializer
Modifier and Type | Method and Description |
---|---|
Command |
deserialize(String serializedCommand)
|
String |
serialize(Command command)
|
String serialize(Command command) throws CommandSerializationException
command
- The given Command.CommandSerializationException
- In case something went wrong serializing the Command.Command deserialize(String serializedCommand) throws CommandSerializationException
serializedCommand
- The given serialized String.CommandSerializationException
- In case something went wrong de-serializing the Command.Copyright (c) 2014-2021 All Rights Reserved by the RWS Group for and on behalf of its affiliates and subsidiaries