F
- The type to convert from.T
- The type to convert to.public abstract class Rule<F,T> extends java.lang.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.
|
java.lang.reflect.Type |
getTargetType()
The target type of this rule.
|
public ConverterFunction getFunction()
TargetRule
getFunction
in interface TargetRule
public java.lang.reflect.Type getTargetType()
TargetRule
getTargetType
in interface TargetRule
Copyright © OSGi Alliance (2000, 2018). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0