Returns a {@link ParameterizedCommand} with a command andparameterizations as specified in the provided serializedParameterizedCommand
string. The serializedParameterizedCommand
must use the format returned by {@link ParameterizedCommand#serialize()} and described in theJavadoc for that method.
If a parameter id encoded in the serializedParameterizedCommand
does not exist in the encoded command, that parameter id and value are ignored. A given parameter id should not be used more than once in serializedParameterizedCommand
. This will not result in an exception, but the value of the parameter when the command is executed cannot be specified here.
This method will never return null
, however it may throw an exception if there is a problem processing the serialization string or the encoded command is undefined.
String
representing a command id and parameter ids and values
@return a ParameterizedCommand
with the command andparameterizations encoded in the serializedParameterizedCommand
@throws NotDefinedException if the command indicated in serializedParameterizedCommand
is not defined
@throws SerializationException if there is an error deserializing serializedParameterizedCommand
@see ParameterizedCommand#serialize()
@see CommandManager#deserialize(String)
@since 3.2
|
|
|
|