Package software.amazon.smithy.waiters
Class PathMatcher
java.lang.Object
software.amazon.smithy.waiters.PathMatcher
- All Implemented Interfaces:
ToNode
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PathMatcher
- Parameters:
path
- The path to execute.expected
- The expected value of the path.comparator
- Comparison performed on the list value.
-
-
Method Details
-
getPath
Gets the path to execute.- Returns:
- Returns the path to execute.
-
getExpected
Gets the expected return value of each element returned by the path.- Returns:
- The return value to compare each result against.
-
getComparator
Gets the comparison performed on the list.- Returns:
- Returns the comparator.
-
fromNode
Creates a new instance from aNode
.- Parameters:
node
- Node tom create the PathMatcher from.- Returns:
- Returns the created PathMatcher.
- Throws:
ExpectationNotMetException
- if the given Node is invalid.
-
toNode
Description copied from interface:ToNode
Converts a value to aNode
. -
equals
-
hashCode
public int hashCode()
-