Package org.opennms.core.rpc.utils.mate
Class Interpolator
- java.lang.Object
-
- org.opennms.core.rpc.utils.mate.Interpolator
-
public class Interpolator extends java.lang.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(java.lang.String toCheck)
static java.util.Optional<ContextKey>
getContextKeyFromMateData(java.lang.String raw)
static java.lang.Object
interpolate(java.lang.Object value, Scope scope)
static Interpolator.Result
interpolate(java.lang.String raw, Scope scope)
static java.util.Map<java.lang.String,java.lang.Object>
interpolateObjects(java.util.Map<java.lang.String,java.lang.Object> attributes, Scope scope)
static java.util.Map<java.lang.String,java.lang.String>
interpolateStrings(java.util.Map<java.lang.String,java.lang.String> attributes, Scope scope)
-
-
-
Method Detail
-
interpolateObjects
public static java.util.Map<java.lang.String,java.lang.Object> interpolateObjects(java.util.Map<java.lang.String,java.lang.Object> attributes, Scope scope)
-
interpolateStrings
public static java.util.Map<java.lang.String,java.lang.String> interpolateStrings(java.util.Map<java.lang.String,java.lang.String> attributes, Scope scope)
-
interpolate
public static java.lang.Object interpolate(java.lang.Object value, Scope scope)
-
interpolate
public static Interpolator.Result interpolate(java.lang.String raw, Scope scope)
-
getContextKeyFromMateData
public static java.util.Optional<ContextKey> getContextKeyFromMateData(java.lang.String raw)
-
containsMateData
public static boolean containsMateData(java.lang.String toCheck)
-
-