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