Class ThingResourceMapper<P,R>
- java.lang.Object
-
- org.eclipse.ditto.things.model.signals.commands.ThingResourceMapper<P,R>
-
- Type Parameters:
P- an extra parameter passed to the visit methodR- the result of the mapping
public class ThingResourceMapper<P,R> extends java.lang.ObjectMaps a JsonPointer to another value by using aThingResourceVisitor.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <P,R>
ThingResourceMapper<P,R>from(ThingResourceVisitor<P,R> visitor)Rmap(org.eclipse.ditto.json.JsonPointer path, P param)Maps the given path to another value.
-
-
-
Method Detail
-
from
public static <P,R> ThingResourceMapper<P,R> from(ThingResourceVisitor<P,R> visitor)
- Type Parameters:
P- an extra parameter passed to the visit methodR- the result of the mapping- Parameters:
visitor- the visitor used to map the JsonPointer- Returns:
- new instance of ThingResourceMapper
-
-