Package org.eso.ias.command
Class CommandJsonSerializer
java.lang.Object
org.eso.ias.command.CommandJsonSerializer
- All Implemented Interfaces:
- CommandStringSerializer
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionConvert the passedCommandMessageto a StringReturn the command by parsing the passed string
- 
Constructor Details- 
CommandJsonSerializerpublic CommandJsonSerializer()
 
- 
- 
Method Details- 
iasCmdToStringDescription copied from interface:CommandStringSerializerConvert the passedCommandMessageto a String- Specified by:
- iasCmdToStringin interface- CommandStringSerializer
- Parameters:
- cmd- The command to serialize
- Returns:
- A string representation of the passed command
- Throws:
- StringSerializerException- In case of error creating the string from the passed command
 
- 
valueOfDescription copied from interface:CommandStringSerializerReturn the command by parsing the passed string- Specified by:
- valueOfin interface- CommandStringSerializer
- Parameters:
- str- The string describing the- CommandMessage
- Returns:
- the command obtained unmasrhalling the passed string
- Throws:
- StringSerializerException- In case of error converting the string
 
 
-