/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeServicesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeReplicationTasksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStacksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeSpotInstanceRequestsResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeLoadBalancersResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeStacksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeBundleTasksResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }
/** * Takes the result and determines whether the state of the resource matches the expected state. To determine * the current state of the resource, JmesPath expression is evaluated and compared against the expected result. * * @param result * Corresponding result of the operation * @return True if current state of the resource matches the expected state, False otherwise */ @Override public boolean matches(DescribeDBInstancesResult result) { JsonNode queryNode = ObjectMapperSingleton.getObjectMapper().valueToTree(result); JsonNode finalResult = ast.accept(new JmesPathEvaluationVisitor(), queryNode); return AcceptorPathMatcher.pathAny(expectedResult, finalResult); }