Package org.opennms.core.wsman.utils
Class ResponseHandlingUtils
- java.lang.Object
-
- org.opennms.core.wsman.utils.ResponseHandlingUtils
-
public class ResponseHandlingUtils extends java.lang.Object
Utility functions for handling the results of WS-Man Get and Enumerate calls.- Author:
- jwhite
-
-
Constructor Summary
Constructors Constructor Description ResponseHandlingUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
getMatchingIndex(java.lang.String spelExpression, com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> values)
static boolean
matchesFilter(java.lang.String spelFilter, com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> valuesByName)
static com.google.common.collect.ListMultimap<java.lang.String,java.lang.String>
toMultiMap(org.w3c.dom.Node node)
-
-
-
Method Detail
-
toMultiMap
public static com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> toMultiMap(org.w3c.dom.Node node)
-
getMatchingIndex
public static int getMatchingIndex(java.lang.String spelExpression, com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> values) throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
-
matchesFilter
public static boolean matchesFilter(java.lang.String spelFilter, com.google.common.collect.ListMultimap<java.lang.String,java.lang.String> valuesByName)
-
-