F
- The type to convert from.T
- The type to convert to.public abstract class Rule<F,T> extends Object implements TargetRule
Rule
implementation.
Filtering on the to is done by the converter customization
mechanism.Constructor and Description |
---|
Rule(Function<F,T> func)
Create an instance with a conversion function.
|
Modifier and Type | Method and Description |
---|---|
ConverterFunction |
getFunction()
The function to perform the conversion.
|
Type |
getTargetType()
The target type of this rule.
|
public ConverterFunction getFunction()
TargetRule
getFunction
in interface TargetRule
public Type getTargetType()
TargetRule
getTargetType
in interface TargetRule
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0