Class TransformationRegistry
java.lang.Object
com.orchestranetworks.addon.dint.transformation.TransformationRegistry
Registers
TransformationDefinition
s to be displayed in the mapping screen.
Custom instances of TransformationDefinition
used directly for the TransformationMappingStep
API do not need to be registered.
- Since:
- 4.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract <I,
O> void add
(TransformationDefinition<I, O> transformationDefinition) Registers a transformation definition.abstract <I,
O> TransformationDefinition<I, O> Returns the transformation definition for the specified unique code.static TransformationRegistry
Returns the instance of the registry.
-
Constructor Details
-
TransformationRegistry
public TransformationRegistry()
-
-
Method Details
-
getInstance
Returns the instance of the registry. -
add
Registers a transformation definition.- Throws:
IllegalArgumentException
- if the definition is invalid.
-
get
Returns the transformation definition for the specified unique code.- Throws:
IllegalArgumentException
- if the code is invalid or the transformation definition does not exist in the registry.- See Also:
-