Class TransformerLabel
java.lang.Object
org.hansken.plugin.extraction.api.TransformerLabel
Description of a transform method of a plugin.
The transform method is a method, specified by method name, of a Transformer capable plugin
that transforms input to output of a specified type (returnType)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the method name of the transformer.Retrieves the parameters of the transformer method as a name, type mapping.Retrieves the return type of the transformer method.
-
Constructor Details
-
TransformerLabel
Plain constructor that constructs a TransformerLabel.- Parameters:
methodName
- The method name of the Transformer.parameters
- The parameters of the Transformer as a name, type mapping. Currently only str is supported.returnType
- The return type of the Transformer method. Currently only vector is supported.
-
-
Method Details
-
getMethodName
Retrieves the method name of the transformer.- Returns:
- The method name of the transformer.
-
getParameters
Retrieves the parameters of the transformer method as a name, type mapping.- Returns:
- The parameters of the transformer method.
-
getReturnType
Retrieves the return type of the transformer method. Currently only vector is supported.- Returns:
- The return type of the transformer method.
-