Package org.opennms.core.rpc.utils.mate
Class Interpolator
- java.lang.Object
-
- org.opennms.core.rpc.utils.mate.Interpolator
-
public class Interpolator extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Interpolator.Result
static class
Interpolator.ResultPart
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
containsMateData(String toCheck)
static Optional<ContextKey>
getContextKeyFromMateData(String raw)
static Object
interpolate(Object value, Scope scope)
static Interpolator.Result
interpolate(String raw, Scope scope)
static Map<String,Object>
interpolateObjects(Map<String,Object> attributes, Scope scope)
static Map<String,String>
interpolateStrings(Map<String,String> attributes, Scope scope)
-
-
-
Method Detail
-
interpolateObjects
public static Map<String,Object> interpolateObjects(Map<String,Object> attributes, Scope scope)
-
interpolateStrings
public static Map<String,String> interpolateStrings(Map<String,String> attributes, Scope scope)
-
interpolate
public static Interpolator.Result interpolate(String raw, Scope scope)
-
getContextKeyFromMateData
public static Optional<ContextKey> getContextKeyFromMateData(String raw)
-
containsMateData
public static boolean containsMateData(String toCheck)
-
-