Package org.apache.plc4x.test.migration
Class MessageResolver
java.lang.Object
org.apache.plc4x.test.migration.MessageResolver
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic MessageInput<?> Returns the messageIO class based on a configured package. convention out ofprotocolNameoutputFlavorandname.static MessageInput<?>
-
Constructor Details
-
MessageResolver
public MessageResolver()
-
-
Method Details
-
getMessageInput
public static MessageInput<?> getMessageInput(Map<String, String> options, String name, List<String> parserArguments) throws DriverTestsuiteExceptionReturns the messageIO class based on a configured package. convention out ofprotocolNameoutputFlavorandname. If this fails its tries a fallback using the deprecated attributeclassName- Parameters:
options- Test framework optionsname- name of the messageparserArguments- the parser arguments to create an instance of the message- Returns:
- the found MessageIO
- Throws:
DriverTestsuiteException- if a MessageIO couldn't be found.
-
getMessageIOStaticLinked
public static MessageInput<?> getMessageIOStaticLinked(Map<String, String> options, String typeName, List<String> parserArguments) throws ParserSerializerTestsuiteException
-